Revert test change in r4808.
This was supposed to be an EXPECT_GT, I just misunderstood it in the previous CL. Added a sleep after the EXPECT_GT and before bytes_received_after = bytes_received_before. BUG=1790 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2265006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4809 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -561,16 +561,15 @@ void ViEAutoTest::ViERtpRtcpStandardTest() | |||||||
|     // Allow the encoder to finish the current frame before we expect that no |     // Allow the encoder to finish the current frame before we expect that no | ||||||
|     // additional packets will be sent. |     // additional packets will be sent. | ||||||
|     AutoTestSleep(kAutoTestSleepTimeMs); |     AutoTestSleep(kAutoTestSleepTimeMs); | ||||||
|     bytes_received_after = bytes_received_before; |  | ||||||
|     AutoTestSleep(kAutoTestSleepTimeMs); |  | ||||||
|     EXPECT_EQ(0, ViE.rtp_rtcp->GetRTPStatistics(tbChannel.videoChannel, |     EXPECT_EQ(0, ViE.rtp_rtcp->GetRTPStatistics(tbChannel.videoChannel, | ||||||
|                                                 bytes_sent_before, |                                                 bytes_sent_before, | ||||||
|                                                 packets_sent_before, |                                                 packets_sent_before, | ||||||
|                                                 bytes_received_before, |                                                 bytes_received_before, | ||||||
|                                                 packets_received_before)); |                                                 packets_received_before)); | ||||||
|     if (FLAGS_include_timing_dependent_tests) { |     if (FLAGS_include_timing_dependent_tests) { | ||||||
|       EXPECT_EQ(bytes_received_before, bytes_received_after); |       EXPECT_GT(bytes_received_before, bytes_received_after); | ||||||
|     } |     } | ||||||
|  |     bytes_received_after = bytes_received_before; | ||||||
|     AutoTestSleep(kAutoTestSleepTimeMs); |     AutoTestSleep(kAutoTestSleepTimeMs); | ||||||
|     EXPECT_EQ(0, ViE.rtp_rtcp->GetRTPStatistics(tbChannel.videoChannel, |     EXPECT_EQ(0, ViE.rtp_rtcp->GetRTPStatistics(tbChannel.videoChannel, | ||||||
|                                                 bytes_sent_after, |                                                 bytes_sent_after, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 stefan@webrtc.org
					stefan@webrtc.org