diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-03-16 18:08:49 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-03-16 18:08:49 -0400 |
commit | f53a88a57da5788b355cb3037061372a706ccf0d (patch) | |
tree | 7a62a074b6dcdcbdc324a37207df1eff5ae8eede /jstests/replsets/initial_sync_invalid_index_spec.js | |
parent | 5fe822f53e4bb28e15af2541c0ca931fa05a0e20 (diff) | |
download | mongo-f53a88a57da5788b355cb3037061372a706ccf0d.tar.gz |
SERVER-26772 removed old initial sync code
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"); |