Revert "Disable some PortAllocatorTest on tsan due to flakiness"
This reverts commit 491bd534ef726456883ec372562d1c8fef82e7ca.
TBR=kjellander@webrtc.org
BUG=4743
Review URL: https://codereview.webrtc.org/1157743008
Cr-Commit-Position: refs/heads/master@{#9375}
diff --git a/webrtc/p2p/client/portallocator_unittest.cc b/webrtc/p2p/client/portallocator_unittest.cc
index b2d4eb2..148623d 100644
--- a/webrtc/p2p/client/portallocator_unittest.cc
+++ b/webrtc/p2p/client/portallocator_unittest.cc
@@ -472,10 +472,6 @@
CheckDisableAdapterEnumeration();
}
-// Disable for TSan v2, see
-// https://code.google.com/p/webrtc/issues/detail?id=4743 for details.
-#if !defined(THREAD_SANITIZER)
-
// Test that we can get OnCandidatesAllocationDone callback when all the ports
// are disabled.
TEST_F(PortAllocatorTest, TestDisableAllPorts) {
@@ -513,8 +509,6 @@
EXPECT_TRUE(candidate_allocation_done_);
}
-#endif // if !defined(THREAD_SANITIZER)
-
// Test that we don't crash or malfunction if we can't create UDP sockets or
// listen on TCP sockets. We still give out a local TCP address, since
// apparently this is needed for the remote side to accept our connection.