Replace DCHECK with ASSERT_TRUE in vie_encoder_unittest.cc
BUG=none TBR=sprang@webrtc.org Review-Url: https://codereview.webrtc.org/2699593007 Cr-Commit-Position: refs/heads/master@{#16656}
This commit is contained in:
parent
5fa5b86a18
commit
070ba85f5b
@ -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); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user