Chromium Code Reviews| Index: webrtc/api/webrtcsession_unittest.cc |
| diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
| index ee1d19b23adaee4cf899e28666b294dafc0aa127..6f66319b3b2060f4d6823466cc67b1237b3391a5 100644 |
| --- a/webrtc/api/webrtcsession_unittest.cc |
| +++ b/webrtc/api/webrtcsession_unittest.cc |
| @@ -2242,7 +2242,10 @@ TEST_F(WebRtcSessionTest, |
| candidates = local_desc->candidates(kMediaContentIndex0); |
| size_t num_local_candidates = candidates->count(); |
| // Enable Continual Gathering |
| - session_->SetIceConfig(cricket::IceConfig(-1, -1, true, false, -1, true)); |
| + cricket::IceConfig config; |
| + config.continual_gathering_policy = cricket::GATHER_CONTINUALLY; |
| + config.presume_writable_when_fully_relayed = true; |
|
Taylor Brandstetter
2016/06/29 22:12:27
I don't think presume_writable_when_fully_relayed
honghaiz3
2016/06/30 01:04:21
Done.
|
| + session_->SetIceConfig(config); |
| // Bring down the network interface to trigger candidate removals. |
| RemoveInterface(rtc::SocketAddress(kClientAddrHost1, kClientAddrPort)); |
| // Verify that all local candidates are removed. |