diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2021-02-12 20:56:02 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-17 00:22:47 +0000 |
commit | aaec1aab2980ad27f738c6f3bbc9bd186c4ef918 (patch) | |
tree | 1a8c02b9f0952b73d4afdee8a628125bd04f150d | |
parent | e5a1fe4a8ebd4cbc71c6f555ab08386d37a89736 (diff) | |
download | mongo-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.js | 1 |
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. |