OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 SocketTest::TestUdpIPv6(); | 209 SocketTest::TestUdpIPv6(); |
210 } | 210 } |
211 | 211 |
212 // Disable for TSan v2, see | 212 // Disable for TSan v2, see |
213 // https://code.google.com/p/webrtc/issues/detail?id=3498 for details. | 213 // https://code.google.com/p/webrtc/issues/detail?id=3498 for details. |
214 // Also disable for MSan, see: | 214 // Also disable for MSan, see: |
215 // https://code.google.com/p/webrtc/issues/detail?id=4958 | 215 // https://code.google.com/p/webrtc/issues/detail?id=4958 |
216 // TODO(deadbeef): Enable again once test is reimplemented to be unflaky. | 216 // TODO(deadbeef): Enable again once test is reimplemented to be unflaky. |
217 // Also disable for ASan. | 217 // Also disable for ASan. |
218 // Disabled on Android: https://code.google.com/p/webrtc/issues/detail?id=4364 | 218 // Disabled on Android: https://code.google.com/p/webrtc/issues/detail?id=4364 |
| 219 // Disabled on Linux: https://bugs.chromium.org/p/webrtc/issues/detail?id=5233 |
219 #if defined(THREAD_SANITIZER) || defined(MEMORY_SANITIZER) || \ | 220 #if defined(THREAD_SANITIZER) || defined(MEMORY_SANITIZER) || \ |
220 defined(ADDRESS_SANITIZER) || defined(WEBRTC_ANDROID) | 221 defined(ADDRESS_SANITIZER) || defined(WEBRTC_ANDROID) || \ |
| 222 defined(WEBRTC_LINUX) |
221 #define MAYBE_TestUdpReadyToSendIPv4 DISABLED_TestUdpReadyToSendIPv4 | 223 #define MAYBE_TestUdpReadyToSendIPv4 DISABLED_TestUdpReadyToSendIPv4 |
222 #else | 224 #else |
223 #define MAYBE_TestUdpReadyToSendIPv4 TestUdpReadyToSendIPv4 | 225 #define MAYBE_TestUdpReadyToSendIPv4 TestUdpReadyToSendIPv4 |
224 #endif | 226 #endif |
225 TEST_F(PhysicalSocketTest, MAYBE_TestUdpReadyToSendIPv4) { | 227 TEST_F(PhysicalSocketTest, MAYBE_TestUdpReadyToSendIPv4) { |
226 SocketTest::TestUdpReadyToSendIPv4(); | 228 SocketTest::TestUdpReadyToSendIPv4(); |
227 } | 229 } |
228 | 230 |
229 TEST_F(PhysicalSocketTest, TestUdpReadyToSendIPv6) { | 231 TEST_F(PhysicalSocketTest, TestUdpReadyToSendIPv6) { |
230 SocketTest::TestUdpReadyToSendIPv6(); | 232 SocketTest::TestUdpReadyToSendIPv6(); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 thread->Start(runnable.get()); | 359 thread->Start(runnable.get()); |
358 EXPECT_TRUE(ss_->Wait(1500, true)); | 360 EXPECT_TRUE(ss_->Wait(1500, true)); |
359 EXPECT_TRUE(ExpectSignal(SIGTERM)); | 361 EXPECT_TRUE(ExpectSignal(SIGTERM)); |
360 EXPECT_EQ(Thread::Current(), signaled_thread_); | 362 EXPECT_EQ(Thread::Current(), signaled_thread_); |
361 EXPECT_TRUE(ExpectNone()); | 363 EXPECT_TRUE(ExpectNone()); |
362 } | 364 } |
363 | 365 |
364 #endif | 366 #endif |
365 | 367 |
366 } // namespace rtc | 368 } // namespace rtc |
OLD | NEW |