提交 47c766f0 编写于 作者: E ewang

8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed...

8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently
Reviewed-by: chegar, alanb, igerasim
上级 3a1c2798
......@@ -87,8 +87,9 @@ public class TestInterfaces {
continue;
}
// JDK-8022963, Skip (Windows) Teredo Tunneling seudo-Interface
if (isWindows && ni.getDisplayName().contains("Teredo"))
// JDK-8022963, Skip (Windows) Teredo Tunneling Pseudo-Interface
String dName = ni.getDisplayName();
if (isWindows && dName != null && dName.contains("Teredo"))
continue;
NetworkInterface curr = soc.getNetworkInterface();
......
......@@ -62,8 +62,9 @@ public class Equals {
while (nifs2.hasMoreElements()) {
NetworkInterface ni = nifs2.nextElement();
// JDK-8022963, Skip (Windows)Teredo Tunneling seudo-Interface
if (isWindows && ni.getDisplayName().contains("Teredo"))
// JDK-8022963, Skip (Windows)Teredo Tunneling Pseudo-Interface
String dName = ni.getDisplayName();
if (isWindows && dName != null && dName.contains("Teredo"))
continue;
NetworkInterface niOrig = nicMap.get(ni.getName());
......
......@@ -40,8 +40,9 @@ public class IndexTest {
NetworkInterface nif;
while (netifs.hasMoreElements()) {
nif = netifs.nextElement();
// JDK-8022212, Skip (Windows) Teredo Tunneling seudo-Interface
if (nif.getDisplayName().contains("Teredo") && isWindows)
// JDK-8022212, Skip (Windows) Teredo Tunneling Pseudo-Interface
String dName = nif.getDisplayName();
if (isWindows && dName != null && dName.contains("Teredo"))
continue;
int index = nif.getIndex();
if (index >= 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册