=doc 17371 avoid using awdl0 interface in tests
This commit is contained in:
parent
c57b4e24c8
commit
93c9eff86e
2 changed files with 9 additions and 5 deletions
|
|
@ -20,7 +20,8 @@ class ScalaUdpMulticastSpec extends TestKit(ActorSystem("ScalaUdpMulticastSpec")
|
|||
"listener" should {
|
||||
"send message back to sink" in {
|
||||
val Some(ipv6Iface) = NetworkInterface.getNetworkInterfaces.collectFirst {
|
||||
case iface if iface.getInetAddresses.exists(_.isInstanceOf[Inet6Address]) => iface
|
||||
// awdl0 is a special interface on OSX that we cannot use
|
||||
case iface if iface.getInetAddresses.exists(_.isInstanceOf[Inet6Address]) && iface.getDisplayName != "awdl0" => iface
|
||||
}
|
||||
|
||||
// host assigned link local multicast address http://tools.ietf.org/html/rfc3307#section-4.3.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue