Suppressing TestUdpReadyToSendIPv4 on ASan.
The test is flaky on Asan. BUG=webrtc:4958 Review URL: https://codereview.webrtc.org/1388203004 Cr-Commit-Position: refs/heads/master@{#10313}
This commit is contained in:
@ -214,14 +214,17 @@ TEST_F(PhysicalSocketTest, MAYBE_TestUdpIPv6) {
|
||||
// Also disable for MSan, see:
|
||||
// https://code.google.com/p/webrtc/issues/detail?id=4958
|
||||
// TODO(deadbeef): Enable again once test is reimplemented to be unflaky.
|
||||
#if !defined(THREAD_SANITIZER) && !defined(MEMORY_SANITIZER)
|
||||
|
||||
TEST_F(PhysicalSocketTest, TestUdpReadyToSendIPv4) {
|
||||
// Also disable for ASan.
|
||||
#if defined(THREAD_SANITIZER) || defined(MEMORY_SANITIZER) || \
|
||||
defined(ADDRESS_SANITIZER)
|
||||
#define MAYBE_TestUdpReadyToSendIPv4 DISABLED_TestUdpReadyToSendIPv4
|
||||
#else
|
||||
#define MAYBE_TestUdpReadyToSendIPv4 TestUdpReadyToSendIPv4
|
||||
#endif
|
||||
TEST_F(PhysicalSocketTest, MAYBE_TestUdpReadyToSendIPv4) {
|
||||
SocketTest::TestUdpReadyToSendIPv4();
|
||||
}
|
||||
|
||||
#endif // if !defined(THREAD_SANITIZER) && !defined(MEMORY_SANITIZER)
|
||||
|
||||
TEST_F(PhysicalSocketTest, TestUdpReadyToSendIPv6) {
|
||||
SocketTest::TestUdpReadyToSendIPv6();
|
||||
}
|
||||
|
Reference in New Issue
Block a user