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

Unified Diff: webrtc/video/rampup_tests.cc

Issue 1433703002: Remove contention between RTCP packets and encoding. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: make sure encoder_config_ is set before adding bitrate observers, to update based on current simulc… Created 5 years, 1 month 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
Index: webrtc/video/rampup_tests.cc
diff --git a/webrtc/video/rampup_tests.cc b/webrtc/video/rampup_tests.cc
index e2dce3f3f8beb9c865238e209ef07470968cb2d3..cce0795b11a1b2f60e21a2ce070e036e6a97a6a2 100644
--- a/webrtc/video/rampup_tests.cc
+++ b/webrtc/video/rampup_tests.cc
@@ -273,10 +273,8 @@ void RampUpTester::TriggerTestDone() {
void RampUpTester::PerformTest() {
test_start_ms_ = clock_->TimeInMilliseconds();
poller_thread_->Start();
- if (Wait() != kEventSignaled) {
- printf("Timed out while waiting for ramp-up to complete.");
- return;
- }
+ EXPECT_EQ(kEventSignaled, Wait())
+ << "Timed out while waiting for ramp-up to complete.";
TriggerTestDone();
poller_thread_->Stop();
}

Powered by Google App Engine
This is Rietveld 408576698