| Index: remoting/protocol/jingle_session_unittest.cc
|
| diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
|
| index f96f03876e13a8a3cb5090a47027355596b8e454..526151f28ca45d229d64a531ed4455a76555178b 100644
|
| --- a/remoting/protocol/jingle_session_unittest.cc
|
| +++ b/remoting/protocol/jingle_session_unittest.cc
|
| @@ -230,7 +230,7 @@ class JingleSessionTest : public testing::Test {
|
| // Expect that the connection will be closed eventually.
|
| EXPECT_CALL(host_connection_callback_,
|
| OnStateChange(Session::CLOSED))
|
| - .Times(1);
|
| + .Times(AtMost(1));
|
| } else {
|
| // Might pass through the CONNECTED state.
|
| EXPECT_CALL(host_connection_callback_,
|
| @@ -272,7 +272,7 @@ class JingleSessionTest : public testing::Test {
|
| // Expect that the connection will be closed eventually.
|
| EXPECT_CALL(client_connection_callback_,
|
| OnStateChange(Session::CLOSED))
|
| - .Times(1);
|
| + .Times(AtMost(1));
|
| }
|
|
|
| client_session_.reset(client_server_->Connect(
|
|
|