summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
diff options
context:
space:
mode:
authorsmani87 <suganthi.mani@mongodb.com>2018-07-29 01:17:00 -0400
committersmani87 <suganthi.mani@mongodb.com>2018-07-29 04:29:29 -0400
commit3ab73b4546be136606e52549da4e93f469d413b3 (patch)
tree385c178c44dc538079cdd3340bcf4d585c81c255 /src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
parentb807f350638757c8833d82fec14a90d7b3a03051 (diff)
downloadmongo-3ab73b4546be136606e52549da4e93f469d413b3.tar.gz
SERVER-36052 Remove _rsConfig.getProtocolVersion() check as part of pv0 code cleanup.
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
index 6ecb25d00c8..61a63ca9225 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
@@ -279,8 +279,8 @@ TEST_F(ReplCoordHBV1Test,
responseBuilder << "ok" << 1;
hbResp.addToBSON(&responseBuilder);
net->scheduleResponse(
- noi, startDate + Milliseconds(200), makeResponseStatus(responseBuilder.obj()));
- assertRunUntil(startDate + Milliseconds(2200));
+ noi, startDate + Milliseconds(50), makeResponseStatus(responseBuilder.obj()));
+ assertRunUntil(startDate + Milliseconds(550));
// Because the new config is stored using an out-of-band thread, we need to perform some
// extra synchronization to let the executor finish the heartbeat reconfig. We know that