Fix PeerConnectionInterfaceTest.CloseAndTestStreamsAndStates

Increase delay for waiting for AudioSource state change to 10ms to hopefully fix flake that started happening on the 24th of Mars after landing https://codereview.webrtc.org/1816143002/.

TBR=deadbeef@webrtc.org
BUG=5692

Review URL: https://codereview.webrtc.org/1844503002 .

Cr-Commit-Position: refs/heads/master@{#12130}
This commit is contained in:
Per
2016-03-29 09:18:05 +02:00
parent 4b0c74172e
commit 85e46a8f13

View File

@ -1872,7 +1872,7 @@ TEST_F(PeerConnectionInterfaceTest, CloseAndTestStreamsAndStates) {
remote_stream->GetVideoTracks()[0]->state());
// Audio source state changes are posted.
EXPECT_EQ_WAIT(MediaStreamTrackInterface::kEnded,
remote_stream->GetAudioTracks()[0]->state(), 1);
remote_stream->GetAudioTracks()[0]->state(), 10);
}
// Test that PeerConnection methods fails gracefully after