From 8f89bff9a61acdd34bf71efea6ef4e7a7b93db12 Mon Sep 17 00:00:00 2001 From: deadbeef Date: Thu, 1 Dec 2016 12:54:20 -0800 Subject: [PATCH] Revert of Disabled flaky P2PTestConductor tests on ASAN and MSAN. (patchset #1 id:1 of https://codereview.webrtc.org/2539103002/ ) Reason for revert: The flaky tests should now be fixed. Original issue's description: > Disabled flaky P2PTestConductor tests on ASAN and MSAN. > > TBR=deadbeef@webrtc.org > BUG=webrtc:6776 > > Committed: https://crrev.com/8d66a5a3b18eef73b238f4220477da265bf4494b > Cr-Commit-Position: refs/heads/master@{#15324} TBR=ossu@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:6776 Review-Url: https://codereview.webrtc.org/2550453003 Cr-Commit-Position: refs/heads/master@{#15371} --- webrtc/api/peerconnection_unittest.cc | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/webrtc/api/peerconnection_unittest.cc b/webrtc/api/peerconnection_unittest.cc index 6a909b6b1b..05dddfa085 100644 --- a/webrtc/api/peerconnection_unittest.cc +++ b/webrtc/api/peerconnection_unittest.cc @@ -2046,15 +2046,9 @@ TEST_F(P2PTestConductor, GetGcmRecv) { TestGcmNegotiation(false, true, kDefaultSrtpCryptoSuite); } -// Disabled due to flakiness, see http://crbug.com/webrtc/6776 -#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) -#define MAYBE_LocalP2PTestRtpDataChannel DISABLED_LocalP2PTestRtpDataChannel -#else -#define MAYBE_LocalP2PTestRtpDataChannel LocalP2PTestRtpDataChannel -#endif // This test sets up a call between two parties with audio, video and an RTP // data channel. -TEST_F(P2PTestConductor, MAYBE_LocalP2PTestRtpDataChannel) { +TEST_F(P2PTestConductor, LocalP2PTestRtpDataChannel) { FakeConstraints setup_constraints; setup_constraints.SetAllowRtpDataChannels(); ASSERT_TRUE(CreateTestClients(&setup_constraints, &setup_constraints)); @@ -2207,15 +2201,9 @@ TEST_F(P2PTestConductor, RegisterDataChannelObserver) { EXPECT_EQ_WAIT(data, new_observer.last_message(), kMaxWaitMs); } -// Disabled due to flakiness, see http://crbug.com/webrtc/6776 -#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) -#define MAYBE_LocalP2PTestReceiverDoesntSupportData DISABLED_LocalP2PTestReceiverDoesntSupportData -#else -#define MAYBE_LocalP2PTestReceiverDoesntSupportData LocalP2PTestReceiverDoesntSupportData -#endif // This test sets up a call between two parties with audio, video and but only // the initiating client support data. -TEST_F(P2PTestConductor, MAYBE_LocalP2PTestReceiverDoesntSupportData) { +TEST_F(P2PTestConductor, LocalP2PTestReceiverDoesntSupportData) { FakeConstraints setup_constraints_1; setup_constraints_1.SetAllowRtpDataChannels(); // Must disable DTLS to make negotiation succeed. @@ -2232,15 +2220,9 @@ TEST_F(P2PTestConductor, MAYBE_LocalP2PTestReceiverDoesntSupportData) { EXPECT_FALSE(initializing_client()->data_observer()->IsOpen()); } -// Disabled due to flakiness, see http://crbug.com/webrtc/6776 -#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) -#define MAYBE_AddDataChannelAfterRenegotiation DISABLED_AddDataChannelAfterRenegotiation -#else -#define MAYBE_AddDataChannelAfterRenegotiation AddDataChannelAfterRenegotiation -#endif // This test sets up a call between two parties with audio, video. When audio // and video is setup and flowing and data channel is negotiated. -TEST_F(P2PTestConductor, MAYBE_AddDataChannelAfterRenegotiation) { +TEST_F(P2PTestConductor, AddDataChannelAfterRenegotiation) { FakeConstraints setup_constraints; setup_constraints.SetAllowRtpDataChannels(); ASSERT_TRUE(CreateTestClients(&setup_constraints, &setup_constraints));