diff --git a/akka-discovery/src/test/scala/akka/discovery/dns/DnsDiscoverySpec.scala b/akka-discovery/src/test/scala/akka/discovery/dns/DnsDiscoverySpec.scala index 636757555d..1c08474f8d 100644 --- a/akka-discovery/src/test/scala/akka/discovery/dns/DnsDiscoverySpec.scala +++ b/akka-discovery/src/test/scala/akka/discovery/dns/DnsDiscoverySpec.scala @@ -53,7 +53,7 @@ class DnsDiscoverySpec extends AkkaSpec(DnsDiscoverySpec.config) "Dns Discovery with isolated resolver" must { if (!dockerAvailable()) { - system.log.error("Test not run as docker is not available") + info("Test not run as docker is not available") pending } @@ -90,6 +90,11 @@ class DnsDiscoverySpec extends AkkaSpec(DnsDiscoverySpec.config) } "Dns discovery with the system resolver" must { + if (!dockerAvailable()) { + info("Test not run as docker is not available") + pending + } + "work with SRV records" in { val discovery = Discovery(systemWithAsyncDnsAsResolver).discovery val name = "_service._tcp.foo.test."