mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
8041677: java/net/MulticastSocket/TestInterfaces failed on Oracle VM Virtual Ethernet Adapter
Ignore Teredo interface in test Reviewed-by: alanb, chegar
This commit is contained in:
parent
92bfe45d6a
commit
03c24ff25b
@ -46,6 +46,11 @@ public class TestInterfaces {
|
||||
while (nifs.hasMoreElements()) {
|
||||
NetworkInterface ni = (NetworkInterface)nifs.nextElement();
|
||||
|
||||
// JDK-8022963, Skip (Windows) Teredo Tunneling Pseudo-Interface
|
||||
String dName = ni.getDisplayName();
|
||||
if (isWindows && dName != null && dName.contains("Teredo"))
|
||||
continue;
|
||||
|
||||
/*
|
||||
* Test MulticastSocket.getInterface
|
||||
*/
|
||||
@ -92,10 +97,6 @@ public class TestInterfaces {
|
||||
continue;
|
||||
}
|
||||
|
||||
// JDK-8022963, Skip (Windows) Teredo Tunneling Pseudo-Interface
|
||||
String dName = ni.getDisplayName();
|
||||
if (isWindows && dName != null && dName.contains("Teredo"))
|
||||
continue;
|
||||
|
||||
NetworkInterface curr = soc.getNetworkInterface();
|
||||
if (!curr.equals(ni)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user