Index: webrtc/call/bitrate_estimator_tests.cc |
diff --git a/webrtc/call/bitrate_estimator_tests.cc b/webrtc/call/bitrate_estimator_tests.cc |
index c63d45dc6e695c26c801b206399c95584f95ed2a..4982fbfdadf6f008484db67dd0f8e1da1c3f34e3 100644 |
--- a/webrtc/call/bitrate_estimator_tests.cc |
+++ b/webrtc/call/bitrate_estimator_tests.cc |
@@ -302,7 +302,15 @@ TEST_F(BitrateEstimatorTest, SwitchesToASTForVideo) { |
EXPECT_TRUE(receiver_log_.Wait()); |
} |
-TEST_F(BitrateEstimatorTest, SwitchesToASTThenBackToTOFForVideo) { |
+// Fails when run with ASan. See webrtc:5790. |
+#if defined(ADDRESS_SANITIZER) |
+#define MAYBE_SwitchesToASTThenBackToTOFForVideo \ |
+ DISABLED_SwitchesToASTThenBackToTOFForVideo |
+#else |
+#define MAYBE_SwitchesToASTThenBackToTOFForVideo \ |
+ SwitchesToASTThenBackToTOFForVideo |
+#endif |
+TEST_F(BitrateEstimatorTest, MAYBE_SwitchesToASTThenBackToTOFForVideo) { |
video_send_config_.rtp.extensions.push_back( |
RtpExtension(RtpExtension::kTOffset, kTOFExtensionId)); |
receiver_log_.PushExpectedLogLine(kSingleStreamLog); |