diff options
Diffstat (limited to 'jstests/replsets/initial_sync_invalid_index_spec.js')
-rw-r--r-- | jstests/replsets/initial_sync_invalid_index_spec.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/jstests/replsets/initial_sync_invalid_index_spec.js b/jstests/replsets/initial_sync_invalid_index_spec.js index a40f6f14a79..ce608334e8b 100644 --- a/jstests/replsets/initial_sync_invalid_index_spec.js +++ b/jstests/replsets/initial_sync_invalid_index_spec.js @@ -30,16 +30,9 @@ const msgInvalidOption = "The field 'invalidOption' is not valid for an index specification"; const msgInitialSyncFatalAssertion = "Fatal assertion 40088 InitialSyncFailure"; - // As part of the initsync-3dot2-rhel-62 evergreen variant, we run this test with a setParameter - // of "use3dot2InitialSync=true" which exercises 3.2 initial sync behavior. This path will - // trigger a different fatal assertion than the normal 3.4 path, which we need to handle here. - // TODO: Remove this assertion check when the 'use3dot2InitialSync' setParameter is retired. - const msg3dot2InitialSyncFatalAssertion = "Fatal Assertion 16233"; - const assertFn = function() { return rawMongoProgramOutput().match(msgInvalidOption) && - (rawMongoProgramOutput().match(msgInitialSyncFatalAssertion) || - rawMongoProgramOutput().match(msg3dot2InitialSyncFatalAssertion)); + rawMongoProgramOutput().match(msgInitialSyncFatalAssertion); }; assert.soon(assertFn, "Initial sync should have aborted on invalid index specification"); |