diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2022-03-16 13:54:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-16 15:17:37 +0000 |
commit | fd26d99c7700fcb4d7a8bfc0153ff425a389e0c4 (patch) | |
tree | d974c66ba1586d695ba26389c02e9f1d6363abd0 /src/mongo/s/mongos_topology_coordinator_test.cpp | |
parent | d173689149305c83f6c5e45878e54698694f4106 (diff) | |
download | mongo-fd26d99c7700fcb4d7a8bfc0153ff425a389e0c4.tar.gz |
SERVER-63495 Link cluster find and strategy into mongod
Diffstat (limited to 'src/mongo/s/mongos_topology_coordinator_test.cpp')
-rw-r--r-- | src/mongo/s/mongos_topology_coordinator_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/mongos_topology_coordinator_test.cpp b/src/mongo/s/mongos_topology_coordinator_test.cpp index 2572b0af613..b9fc86d6fd5 100644 --- a/src/mongo/s/mongos_topology_coordinator_test.cpp +++ b/src/mongo/s/mongos_topology_coordinator_test.cpp @@ -272,7 +272,7 @@ TEST_F(MongosTopoCoordTest, HelloReturnsErrorOnEnteringQuiesceMode) { auto quiesceTime = Milliseconds(0); // This will cause the hello request to hang. - auto waitForHelloFailPoint = globalFailPointRegistry().find("waitForHelloResponse"); + auto waitForHelloFailPoint = globalFailPointRegistry().find("waitForHelloResponseMongos"); auto timesEnteredFailPoint = waitForHelloFailPoint->setMode(FailPoint::alwaysOn); ON_BLOCK_EXIT([&] { waitForHelloFailPoint->setMode(FailPoint::off, 0); }); stdx::thread getHelloThread([&] { @@ -299,7 +299,7 @@ TEST_F(MongosTopoCoordTest, AlwaysDecrementNumAwaitingTopologyChangesOnErrorMong auto opCtx = makeOperationContext(); ASSERT_EQUALS(0, HelloMetrics::get(opCtx.get())->getNumAwaitingTopologyChanges()); - auto hangFP = globalFailPointRegistry().find("hangWhileWaitingForHelloResponse"); + auto hangFP = globalFailPointRegistry().find("hangWhileWaitingForHelloResponseMongos"); auto timesEnteredHangFP = hangFP->setMode(FailPoint::alwaysOn); // Use a novel error code to test this functionality. |