Index: webrtc/video/vie_encoder_unittest.cc |
diff --git a/webrtc/video/vie_encoder_unittest.cc b/webrtc/video/vie_encoder_unittest.cc |
index 380c4fa768edafdfb6bf6ad75b8db77fcbb86444..faa48330aa9984b967deaafe453d9f3c20f4fb91 100644 |
--- a/webrtc/video/vie_encoder_unittest.cc |
+++ b/webrtc/video/vie_encoder_unittest.cc |
@@ -78,7 +78,7 @@ class ViEEncoderUnderTest : public ViEEncoder { |
down ? AdaptDown(reason) : AdaptUp(reason); |
event.Set(); |
}); |
- RTC_DCHECK(event.Wait(5000)); |
+ ASSERT_TRUE(event.Wait(5000)); |
} |
void TriggerCpuOveruse() { PostTaskAndWait(true, AdaptReason::kCpu); } |