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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
421 #define MAYBE_TestTcpIPv6 TestTcpIPv6 | 421 #define MAYBE_TestTcpIPv6 TestTcpIPv6 |
422 #endif | 422 #endif |
423 TEST_F(PhysicalSocketTest, MAYBE_TestTcpIPv6) { | 423 TEST_F(PhysicalSocketTest, MAYBE_TestTcpIPv6) { |
424 SocketTest::TestTcpIPv6(); | 424 SocketTest::TestTcpIPv6(); |
425 } | 425 } |
426 | 426 |
427 TEST_F(PhysicalSocketTest, TestUdpIPv4) { | 427 TEST_F(PhysicalSocketTest, TestUdpIPv4) { |
428 SocketTest::TestUdpIPv4(); | 428 SocketTest::TestUdpIPv4(); |
429 } | 429 } |
430 | 430 |
431 TEST_F(PhysicalSocketTest, TestUdpIpv4Interval) { | |
432 SocketTest::TestUdpIpv4Interval(); | |
433 } | |
434 | |
431 // Crashes on Linux. See webrtc:4923. | 435 // Crashes on Linux. See webrtc:4923. |
432 #if defined(WEBRTC_LINUX) | 436 #if defined(WEBRTC_LINUX) |
433 #define MAYBE_TestUdpIPv6 DISABLED_TestUdpIPv6 | 437 #define MAYBE_TestUdpIPv6 DISABLED_TestUdpIPv6 |
434 #else | 438 #else |
435 #define MAYBE_TestUdpIPv6 TestUdpIPv6 | 439 #define MAYBE_TestUdpIPv6 TestUdpIPv6 |
436 #endif | 440 #endif |
437 TEST_F(PhysicalSocketTest, MAYBE_TestUdpIPv6) { | 441 TEST_F(PhysicalSocketTest, MAYBE_TestUdpIPv6) { |
438 SocketTest::TestUdpIPv6(); | 442 SocketTest::TestUdpIPv6(); |
439 } | 443 } |
440 | 444 |
445 // Frequently fails to bind() on Linux when running on bots. See webrtc:4923. | |
446 #if defined(WEBRTC_LINUX) | |
447 #define MAYBE_TestUdpIpv6Interval DISABLED_TestUdpIpv6Interval | |
448 #else | |
449 #define MAYBE_TestUdpIpv6Interval TestUdpIpv6Interval | |
450 #endif | |
451 TEST_F(PhysicalSocketTest, MAYBE_TestUdpIpv6Interval) { | |
452 SocketTest::TestUdpIpv6Interval(); | |
juberti2
2016/05/17 06:41:48
Isn't this handled in socket_unittest already?
| |
453 } | |
454 | |
441 // Disable for TSan v2, see | 455 // Disable for TSan v2, see |
442 // https://code.google.com/p/webrtc/issues/detail?id=3498 for details. | 456 // https://code.google.com/p/webrtc/issues/detail?id=3498 for details. |
443 // Also disable for MSan, see: | 457 // Also disable for MSan, see: |
444 // https://code.google.com/p/webrtc/issues/detail?id=4958 | 458 // https://code.google.com/p/webrtc/issues/detail?id=4958 |
445 // TODO(deadbeef): Enable again once test is reimplemented to be unflaky. | 459 // TODO(deadbeef): Enable again once test is reimplemented to be unflaky. |
446 // Also disable for ASan. | 460 // Also disable for ASan. |
447 // Disabled on Android: https://code.google.com/p/webrtc/issues/detail?id=4364 | 461 // Disabled on Android: https://code.google.com/p/webrtc/issues/detail?id=4364 |
448 // Disabled on Linux: https://bugs.chromium.org/p/webrtc/issues/detail?id=5233 | 462 // Disabled on Linux: https://bugs.chromium.org/p/webrtc/issues/detail?id=5233 |
449 #if defined(THREAD_SANITIZER) || defined(MEMORY_SANITIZER) || \ | 463 #if defined(THREAD_SANITIZER) || defined(MEMORY_SANITIZER) || \ |
450 defined(ADDRESS_SANITIZER) || defined(WEBRTC_ANDROID) || \ | 464 defined(ADDRESS_SANITIZER) || defined(WEBRTC_ANDROID) || \ |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
588 thread->Start(runnable.get()); | 602 thread->Start(runnable.get()); |
589 EXPECT_TRUE(ss_->Wait(1500, true)); | 603 EXPECT_TRUE(ss_->Wait(1500, true)); |
590 EXPECT_TRUE(ExpectSignal(SIGTERM)); | 604 EXPECT_TRUE(ExpectSignal(SIGTERM)); |
591 EXPECT_EQ(Thread::Current(), signaled_thread_); | 605 EXPECT_EQ(Thread::Current(), signaled_thread_); |
592 EXPECT_TRUE(ExpectNone()); | 606 EXPECT_TRUE(ExpectNone()); |
593 } | 607 } |
594 | 608 |
595 #endif | 609 #endif |
596 | 610 |
597 } // namespace rtc | 611 } // namespace rtc |
OLD | NEW |