From 908f57ed945d7b8b47ec4cb50435a484cd6edf18 Mon Sep 17 00:00:00 2001 From: "tommi@webrtc.org" Date: Mon, 21 Jul 2014 11:44:39 +0000 Subject: [PATCH] Disable GetStatsForInvalidTrack while I rewrite it. TBR=xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17969005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6748 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/peerconnectioninterface_unittest.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/talk/app/webrtc/peerconnectioninterface_unittest.cc b/talk/app/webrtc/peerconnectioninterface_unittest.cc index 5c9b826da..2219a061c 100644 --- a/talk/app/webrtc/peerconnectioninterface_unittest.cc +++ b/talk/app/webrtc/peerconnectioninterface_unittest.cc @@ -772,7 +772,10 @@ TEST_F(PeerConnectionInterfaceTest, GetStatsForVideoTrack) { } // Test that we don't get statistics for an invalid track. -TEST_F(PeerConnectionInterfaceTest, GetStatsForInvalidTrack) { +// TODO(tommi): Fix this test. DoGetStats will return true +// for the unknown track (since GetStats is async), but no +// data is returned for the track. +TEST_F(PeerConnectionInterfaceTest, DISABLED_GetStatsForInvalidTrack) { InitiateCall(); scoped_refptr unknown_audio_track( pc_factory_->CreateAudioTrack("unknown track", NULL));