| Index: remoting/protocol/connection_unittest.cc
|
| diff --git a/remoting/protocol/connection_unittest.cc b/remoting/protocol/connection_unittest.cc
|
| index ed355526cfe9595064d7a396c9e763e1f5acdcd2..c83d5d1e725780861195f075d41e0232b471604b 100644
|
| --- a/remoting/protocol/connection_unittest.cc
|
| +++ b/remoting/protocol/connection_unittest.cc
|
| @@ -532,7 +532,10 @@ TEST_P(ConnectionTest, Video) {
|
| host_connection_->StartVideoStream(
|
| base::MakeUnique<TestScreenCapturer>());
|
|
|
| - WaitNextVideoFrame();
|
| + // Receive 5 frames.
|
| + for (int i = 0; i < 5; ++i) {
|
| + WaitNextVideoFrame();
|
| + }
|
| }
|
|
|
| // Verifies that the VideoStream doesn't loose any video frames while the
|
|
|