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}
diff --git a/webrtc/api/peerconnectioninterface_unittest.cc b/webrtc/api/peerconnectioninterface_unittest.cc
index 76f9c5d..544a143 100644
--- a/webrtc/api/peerconnectioninterface_unittest.cc
+++ b/webrtc/api/peerconnectioninterface_unittest.cc
@@ -1872,7 +1872,7 @@
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