diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-09-26 15:14:32 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-09-26 17:16:52 -0400 |
commit | dadc633413ff9d1eb788c052f39340b5362617c9 (patch) | |
tree | 2453fbd46208300eed9272c2278414182bd55a9b | |
parent | 3ab7ab1ccb9bf89ecfdd793cc0d2e4acb8e334d4 (diff) | |
download | mongo-dadc633413ff9d1eb788c052f39340b5362617c9.tar.gz |
SERVER-26297 Don't run initial_sync_applier_error.js with old initial sync
-rw-r--r-- | jstests/replsets/initial_sync_applier_error.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/replsets/initial_sync_applier_error.js b/jstests/replsets/initial_sync_applier_error.js index bdbd92782a2..8c858f606a8 100644 --- a/jstests/replsets/initial_sync_applier_error.js +++ b/jstests/replsets/initial_sync_applier_error.js @@ -11,6 +11,13 @@ */ (function() { + "use strict"; + var parameters = TestData.setParameters; + if (parameters && parameters.indexOf("use3dot2InitialSync=true") != -1) { + jsTest.log("Skipping this test because use3dot2InitialSync was provided."); + return; + } + var name = 'initial_sync_applier_error'; var replSet = new ReplSetTest({ name: name, |