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

Unified Diff: webrtc/media/base/videoengine_unittest.h

Issue 2299483002: Fixed flaky test: WebRtcVideoChannel2BaseTest.GetStatsMultipleRecvStreams (Closed)
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoengine_unittest.h
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h
index fcc77d70c1ada03feda17824215d8b6fc369d5d5..ac8ed476553dca53b637f8f6e7652fbf32d18b9c 100644
--- a/webrtc/media/base/videoengine_unittest.h
+++ b/webrtc/media/base/videoengine_unittest.h
@@ -516,8 +516,10 @@ class VideoMediaChannelTest : public testing::Test,
EXPECT_EQ_WAIT(NumRtpBytes(), GetReceiverStats(i).bytes_rcvd, kTimeout);
EXPECT_EQ_WAIT(NumRtpPackets(), GetReceiverStats(i).packets_rcvd,
kTimeout);
- EXPECT_EQ(DefaultCodec().width, GetReceiverStats(i).frame_width);
- EXPECT_EQ(DefaultCodec().height, GetReceiverStats(i).frame_height);
+ EXPECT_EQ_WAIT(DefaultCodec().width, GetReceiverStats(i).frame_width,
+ kTimeout);
+ EXPECT_EQ_WAIT(DefaultCodec().height, GetReceiverStats(i).frame_height,
+ kTimeout);
}
}
// Test that stats work properly for a conf call with multiple send streams.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698