Chromium Code Reviews| Index: webrtc/api/peerconnectioninterface_unittest.cc |
| diff --git a/webrtc/api/peerconnectioninterface_unittest.cc b/webrtc/api/peerconnectioninterface_unittest.cc |
| index 2594b6c10637996c3a554757a188da633d5b12cb..27db22cd12d6502b9b75ce93de48b218bb419f26 100644 |
| --- a/webrtc/api/peerconnectioninterface_unittest.cc |
| +++ b/webrtc/api/peerconnectioninterface_unittest.cc |
| @@ -702,7 +702,9 @@ class PeerConnectionInterfaceTest : public testing::Test { |
| } else { |
| pc_->SetRemoteDescription(observer, desc); |
| } |
| - EXPECT_EQ_WAIT(true, observer->called(), kTimeout); |
| + if (pc_->signaling_state() != PeerConnectionInterface::kClosed) { |
| + EXPECT_EQ_WAIT(true, observer->called(), kTimeout); |
| + } |
|
pthatcher1
2016/05/12 05:44:13
Shouldn't we add some unit tests to verify the beh
|
| return observer->result(); |
| } |