Dont run DnsDiscoverySpec if docker not available (#26071)
* Dont run DnsDiscoverySpec if docker not available Fixes #26062
This commit is contained in:
parent
66fa541118
commit
e1dc8dcb4e
1 changed files with 6 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue