diff options
author | Benety Goh <benety@mongodb.com> | 2019-10-10 16:38:02 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-10 16:38:02 +0000 |
commit | dc65716e7ed6053e4ec1f7d1dfa82b435d46ba03 (patch) | |
tree | 094f2eb9eb8f66f1ca9ff0eb3b96c597ceeb873d | |
parent | 3060375e3b6db727d726bfc37ee50dda3196e30d (diff) | |
download | mongo-dc65716e7ed6053e4ec1f7d1dfa82b435d46ba03.tar.gz |
SERVER-43800 disable flaky test
-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. // |