Stop transport in test SuspendBelowMinBitrate.

Avoids race when packets are still left in the network while the Call is
being destroyed.

R=mflodman@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/6009004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5307 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org 2013-12-17 11:19:58 +00:00
parent e6b871bb29
commit 052fa6243a

View File

@ -802,7 +802,7 @@ TEST_F(VideoSendStreamTest, SuspendBelowMinBitrate) {
void set_high_remb_bps(int value) { high_remb_bps_ = value; }
virtual void Stop() { transport_.StopSending(); }
void Stop() { transport_.StopSending(); }
private:
enum TestState {
@ -857,6 +857,7 @@ TEST_F(VideoSendStreamTest, SuspendBelowMinBitrate) {
observer.set_high_remb_bps(min_bitrate_bps + threshold_window + 5000);
RunSendTest(call.get(), send_config, &observer);
observer.Stop();
}
TEST_F(VideoSendStreamTest, NoPaddingWhenVideoIsMuted) {