Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: remoting/protocol/connection_unittest.cc

Issue 2887183004: Ensure that remoting_unittests fail when playout delay > 0. (Closed)
Patch Set: fix failure on windows Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/protocol/webrtc_video_renderer_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | remoting/protocol/webrtc_video_renderer_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698