Commit e84707f5 authored by bruening@chromium.org's avatar bruening@chromium.org

[MemSheriff] Disable...

[MemSheriff] Disable WebRtcLocalAudioTrackTest.ConnectTracksToDifferentCapturers to get tsan bot green.

BUG=404133
TBR=ajm@chromium.org

Review URL: https://codereview.chromium.org/478693003

Cr-Commit-Position: refs/heads/master@{#289947}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289947 0039d316-1c4b-4281-b951-d872f2087c98
parent 01caf7c0
...@@ -404,8 +404,16 @@ TEST_F(WebRtcLocalAudioTrackTest, StartAndStopAudioTracks) { ...@@ -404,8 +404,16 @@ TEST_F(WebRtcLocalAudioTrackTest, StartAndStopAudioTracks) {
capturer_->Stop(); capturer_->Stop();
} }
// Contains data races reported by tsan: crbug.com/404133
#if defined(THREAD_SANITIZER)
#define DISABLE_ON_TSAN(function) DISABLED_##function
#else
#define DISABLE_ON_TSAN(function) function
#endif
// Create a new capturer with new source, connect it to a new audio track. // Create a new capturer with new source, connect it to a new audio track.
TEST_F(WebRtcLocalAudioTrackTest, ConnectTracksToDifferentCapturers) { TEST_F(WebRtcLocalAudioTrackTest,
DISABLE_ON_TSAN(ConnectTracksToDifferentCapturers)) {
// Setup the first audio track and start it. // Setup the first audio track and start it.
scoped_refptr<WebRtcLocalAudioTrackAdapter> adapter_1( scoped_refptr<WebRtcLocalAudioTrackAdapter> adapter_1(
WebRtcLocalAudioTrackAdapter::Create(std::string(), NULL)); WebRtcLocalAudioTrackAdapter::Create(std::string(), NULL));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment