sbtでtestを実行したらjava.net.UnknownHostExceptionのエラー吐いた

http://biomedicalontologies.com/2012/11/14/fixing-java-net-local-host-name-unknown-error-on-mac-os-x/

をみるに、hostnameの設定が/etc/hostsに書いてないものになっているとjava.net.UnknownHostExceptionになるみたい。

> test
[info] Generating PROJECT_HOME/target/scala-2.10/resource_managed/main/rebel.xml.
<snip>
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[trace] Stack trace suppressed: run last cert_safe/*:testListeners for the full output.
[error] (PROJECT/*:testListeners) java.net.UnknownHostException: foo01: foo01: nodename nor servname provided, or not known
[error] Total time: 1 s, completed 2014/07/30 16:03:41
> 

hostnameの出力のサーバー名を/etc/hostsに書いて解決。