summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2021-02-12 20:56:02 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-17 00:22:47 +0000
commitaaec1aab2980ad27f738c6f3bbc9bd186c4ef918 (patch)
tree1a8c02b9f0952b73d4afdee8a628125bd04f150d
parente5a1fe4a8ebd4cbc71c6f555ab08386d37a89736 (diff)
downloadmongo-aaec1aab2980ad27f738c6f3bbc9bd186c4ef918.tar.gz
SERVER-54528 Avoid race between initial sync failing and shutdown in initial_sync_fails_when_source_removed.js
-rw-r--r--jstests/replsets/initial_sync_fails_when_source_removed.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync_fails_when_source_removed.js b/jstests/replsets/initial_sync_fails_when_source_removed.js
index 228bbb1203f..a171f92723b 100644
--- a/jstests/replsets/initial_sync_fails_when_source_removed.js
+++ b/jstests/replsets/initial_sync_fails_when_source_removed.js
@@ -76,7 +76,6 @@ beforeFinishFailPoint.wait();
const res = assert.commandWorked(initialSyncNode.adminCommand({replSetGetStatus: 1}));
// The initial sync should have failed.
assert.eq(res.initialSyncStatus.failedInitialSyncAttempts, 1);
-beforeFinishFailPoint.off();
// We skip validation and dbhashes because the initial sync failed so the initial sync node is
// invalid and unreachable.