summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-03-25 14:09:41 -0400
committerWaley Chen <waleycz@gmail.com>2016-03-28 11:58:25 -0400
commit1114d85ae5437eb7fdfb729979a78acd0659fe55 (patch)
treee8de814e86ddf239e77a812b4d1f656c9dcb7581
parent469dd5196c87a1ccb30f4ac1c7d46bd1ca6c113e (diff)
downloadmongo-1114d85ae5437eb7fdfb729979a78acd0659fe55.tar.gz
SERVER-23217 Hang in network_interface_asio_test
-rw-r--r--src/mongo/executor/network_interface_asio_test.cpp4
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 d4aca8c8486..2e95e0383ef 100644
--- a/src/mongo/executor/network_interface_asio_test.cpp
+++ b/src/mongo/executor/network_interface_asio_test.cpp
@@ -292,7 +292,7 @@ TEST_F(NetworkInterfaceASIOTest, TimeoutWithNetworkError) {
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);
@@ -307,7 +307,7 @@ TEST_F(NetworkInterfaceASIOTest, TimeoutWithNetworkError) {
// Trigger both a timeout and a network error
stream->setError(make_error_code(ErrorCodes::HostUnreachable));
- timerFactory().fastForward(Milliseconds(500));
+ timerFactory().fastForward(Milliseconds(2000));
}
// Wait for op to complete, assert that timeout had precedence.