summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/awaitable_ismaster_metrics.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/awaitable_ismaster_metrics.js')
-rw-r--r--jstests/noPassthrough/awaitable_ismaster_metrics.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/awaitable_ismaster_metrics.js b/jstests/noPassthrough/awaitable_ismaster_metrics.js
index 35a379bb6ea..bfbcefa47e3 100644
--- a/jstests/noPassthrough/awaitable_ismaster_metrics.js
+++ b/jstests/noPassthrough/awaitable_ismaster_metrics.js
@@ -79,12 +79,12 @@ replTest.initiate();
const primary = replTest.getPrimary();
// A failpoint signalling that the server has received the IsMaster request and is waiting for a
// topology change or maxAwaitTimeMS.
-failPoint = configureFailPoint(primary, "hangWhileWaitingForIsMasterResponse");
+failPoint = configureFailPoint(primary, "hangWhileWaitingForHelloResponse");
runTest(primary.getDB("admin"), failPoint);
replTest.stopSet();
const st = new ShardingTest({mongos: 1, shards: [{nodes: 1}], config: 1});
-failPoint = configureFailPoint(st.s, "hangWhileWaitingForIsMasterResponse");
+failPoint = configureFailPoint(st.s, "hangWhileWaitingForHelloResponse");
runTest(st.s.getDB("admin"), failPoint);
st.stop();
})();