diff options
author | Waley Chen <waleycz@gmail.com> | 2016-03-17 16:01:28 -0400 |
---|---|---|
committer | Ramon Fernandez <ramon@mongodb.com> | 2016-03-23 13:45:35 -0400 |
commit | 270945defa0f0c3afbfc1576a60eb898cbe344c1 (patch) | |
tree | 59455ff3979d8887a11f2b486721d0c49506833c | |
parent | 84690f3a162ced1deae22b04910e9ab6c057ffe4 (diff) | |
download | mongo-270945defa0f0c3afbfc1576a60eb898cbe344c1.tar.gz |
SERVER-23217 Hang in network_interface_asio_test
(cherry picked from commit d67ed5781d07b0c40be53f18878d7f6061672b3c)
-rw-r--r-- | src/mongo/executor/network_interface_asio_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/network_interface_asio_test.cpp b/src/mongo/executor/network_interface_asio_test.cpp index 2fe5d5e5e17..c188a182e1f 100644 --- a/src/mongo/executor/network_interface_asio_test.cpp +++ b/src/mongo/executor/network_interface_asio_test.cpp @@ -304,7 +304,7 @@ TEST_F(NetworkInterfaceASIOTest, CancelWithTimeoutAndNetworkError) { auto cbh = makeCallbackHandle(); auto deferred = startCommand( cbh, - RemoteCommandRequest(testHost, "testDB", BSON("a" << 1), BSONObj(), Milliseconds(100))); + RemoteCommandRequest(testHost, "testDB", BSON("a" << 1), BSONObj(), Milliseconds(1000))); // Create and initialize a stream so operation can begin auto stream = streamFactory().blockUntilStreamExists(testHost); @@ -319,7 +319,7 @@ TEST_F(NetworkInterfaceASIOTest, CancelWithTimeoutAndNetworkError) { // Trigger a timeout, a cancellation, and a network error stream->setError(make_error_code(ErrorCodes::HostUnreachable)); - timerFactory().fastForward(Milliseconds(500)); + timerFactory().fastForward(Milliseconds(2000)); net().cancelCommand(cbh); } |