Disable TCPChannelClientTest.testConnectIPv6
This test is failing because IPv6 is not fully supported on some of the
bots. (See https://bugs.chromium.org/p/chromium/issues/detail?id=612380)
R=kjellander@webrtc.org
TBR=perkj@webrtc.org
BUG=webrtc:6437
NOTRY=True
TESTED=ninja -C out/gn && out/gn/bin/run_android_junit_tests with and without the CL and verified the test is not run.
Review-Url: https://codereview.webrtc.org/2381503005
Cr-Commit-Position: refs/heads/master@{#14449}
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 4eeba6a..92949cf 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -821,6 +821,7 @@
]
deps = [
+ "//base:base_java_test_support",
"//webrtc/api:libjingle_peerconnection_java",
"//webrtc/api:libjingle_peerconnection_jni",
"//webrtc/examples:AppRTCMobile_javalib",
diff --git a/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java b/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java
index b20157f..61ffa02 100644
--- a/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java
+++ b/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java
@@ -15,6 +15,7 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
+import org.chromium.base.test.util.DisabledTest;
import org.chromium.testing.local.LocalRobolectricTestRunner;
import org.junit.After;
import org.junit.Before;
@@ -96,7 +97,10 @@
verify(clientEvents, timeout(CONNECT_TIMEOUT)).onTCPConnected(false);
}
- @Test
+ // @Test
+ // Disabled because it fails when IPv6 is not supported on the bot.
+ // TODO(ehmaldonado): Enable when bugs.webrtc.org/6437 is fixed.
+ @DisabledTest
public void testConnectIPv6() {
setUpIPv6Server();
try {