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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user