summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2016-09-26 15:14:32 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2016-09-26 17:16:52 -0400
commitdadc633413ff9d1eb788c052f39340b5362617c9 (patch)
tree2453fbd46208300eed9272c2278414182bd55a9b
parent3ab7ab1ccb9bf89ecfdd793cc0d2e4acb8e334d4 (diff)
downloadmongo-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.js7
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,