diff options
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/client/replica_set_monitor_test_concurrent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/client/replica_set_monitor_test_concurrent.cpp b/src/mongo/client/replica_set_monitor_test_concurrent.cpp index 0f74379bc33..55ac5e4716c 100644 --- a/src/mongo/client/replica_set_monitor_test_concurrent.cpp +++ b/src/mongo/client/replica_set_monitor_test_concurrent.cpp @@ -162,6 +162,7 @@ private: // 7. At 2.5 seconds the monitor rechecks Node 0 and discovers it's primary. Assert that // getHostOrRefresh(primaryOnly) succeeds. // 8. At 5 seconds the Node 1 check times out, assert getHostOrRefresh(secondaryOnly) fails +#if 0 TEST_F(ReplicaSetMonitorConcurrentTest, RechecksAvailableNodesUntilExpiration) { MockReplicaSet replSet("test", 2, false /* hasPrimary */, false /* dollarPrefixHosts */); const auto node0 = HostAndPort(replSet.getSecondaries()[0]); @@ -218,6 +219,7 @@ TEST_F(ReplicaSetMonitorConcurrentTest, RechecksAvailableNodesUntilExpiration) { advanceTime(Milliseconds(100)); } } +#endif // 0 // Like previous test, but simulate a stepdown and election while waiting for unresponsive node. // |