Adding suppression for race in stats collector test.

See bug for more info. This race is benign, and only exists because a
method is virtual so it can be mocked for testing.

BUG=webrtc:7221
NOTRY=True
TBR=hbos@webrtc.org

Review-Url: https://codereview.webrtc.org/2711783005
Cr-Commit-Position: refs/heads/master@{#16813}
This commit is contained in:
deadbeef
2017-02-23 19:05:39 -08:00
committed by Commit bot
parent 6072db9388
commit 2b62fa218c

View File

@ -80,6 +80,11 @@ char kTSanDefaultSuppressions[] =
// https://code.google.com/p/libyuv/issues/detail?id=508
"race:InitCpuFlags\n"
// Test-only race due to PeerConnection::session() being virtual for testing.
// The stats collector may call session() before or after the destructor begins
// executing, which modifies the vtable.
"race:*RTCStatsIntegrationTest_GetsStatsWhileDestroyingPeerConnections_Test::TestBody\n"
// End of suppressions.
; // Please keep this semicolon.