8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently
Reviewed-by: chegar, alanb, igerasim
This commit is contained in:
parent
0903468259
commit
9d91b009c1
@ -87,8 +87,9 @@ public class TestInterfaces {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// JDK-8022963, Skip (Windows) Teredo Tunneling seudo-Interface
|
// JDK-8022963, Skip (Windows) Teredo Tunneling Pseudo-Interface
|
||||||
if (isWindows && ni.getDisplayName().contains("Teredo"))
|
String dName = ni.getDisplayName();
|
||||||
|
if (isWindows && dName != null && dName.contains("Teredo"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
NetworkInterface curr = soc.getNetworkInterface();
|
NetworkInterface curr = soc.getNetworkInterface();
|
||||||
|
@ -62,8 +62,9 @@ public class Equals {
|
|||||||
while (nifs2.hasMoreElements()) {
|
while (nifs2.hasMoreElements()) {
|
||||||
NetworkInterface ni = nifs2.nextElement();
|
NetworkInterface ni = nifs2.nextElement();
|
||||||
|
|
||||||
// JDK-8022963, Skip (Windows)Teredo Tunneling seudo-Interface
|
// JDK-8022963, Skip (Windows)Teredo Tunneling Pseudo-Interface
|
||||||
if (isWindows && ni.getDisplayName().contains("Teredo"))
|
String dName = ni.getDisplayName();
|
||||||
|
if (isWindows && dName != null && dName.contains("Teredo"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
NetworkInterface niOrig = nicMap.get(ni.getName());
|
NetworkInterface niOrig = nicMap.get(ni.getName());
|
||||||
|
@ -40,8 +40,9 @@ public class IndexTest {
|
|||||||
NetworkInterface nif;
|
NetworkInterface nif;
|
||||||
while (netifs.hasMoreElements()) {
|
while (netifs.hasMoreElements()) {
|
||||||
nif = netifs.nextElement();
|
nif = netifs.nextElement();
|
||||||
// JDK-8022212, Skip (Windows) Teredo Tunneling seudo-Interface
|
// JDK-8022212, Skip (Windows) Teredo Tunneling Pseudo-Interface
|
||||||
if (nif.getDisplayName().contains("Teredo") && isWindows)
|
String dName = nif.getDisplayName();
|
||||||
|
if (isWindows && dName != null && dName.contains("Teredo"))
|
||||||
continue;
|
continue;
|
||||||
int index = nif.getIndex();
|
int index = nif.getIndex();
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user