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:
perkj 2017-02-16 15:46:27 -08:00 committed by Commit bot
parent 5fa5b86a18
commit 070ba85f5b

View File

@ -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); }