Skip to content

Commit

Permalink
Fix random unit test failure (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trisfald authored and jcague committed Jan 12, 2018
1 parent 9450e93 commit 4d20b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion erizo/src/test/media/SyntheticInputTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ TEST_F(SyntheticInputTest, firstVideoFrame_shouldBeAKeyframe) {
}

TEST_F(SyntheticInputTest, shouldWriteFragmentedKeyFrames_whenExpected) {
auto packet = erizo::PacketTools::createRembPacket(300000);
auto packet = erizo::PacketTools::createRembPacket(350000);
input->deliverFeedback(packet);
EXPECT_CALL(sink, deliverAudioDataInternal(_, _)).Times(4);
EXPECT_CALL(sink, deliverVideoDataInternal(_, _)).With(Args<0>(erizo::IsKeyframeFirstPacket())).Times(1);
Expand Down
3 changes: 1 addition & 2 deletions erizo/src/test/rtp/SenderBandwidthEstimationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ TEST_F(SenderBandwidthEstimationHandlerTest, shouldProvideEstimateAfterkMinUpdat

pipeline->write(packet);
pipeline->read(remb_packet);
advanceClock(SenderBandwidthEstimationHandler::kMinUpdateEstimateInterval+std::chrono::milliseconds(1));
advanceClock(SenderBandwidthEstimationHandler::kMinUpdateEstimateInterval+std::chrono::milliseconds(500));
pipeline->write(packet_2);
}

0 comments on commit 4d20b76

Please sign in to comment.