summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Guo <robert.guo@10gen.com>2018-01-23 18:16:49 -0500
committerRobert Guo <robert.guo@10gen.com>2018-02-14 16:34:12 -0500
commit47fc424ca082fc11d04fe0dedc550a3b87e689c5 (patch)
tree6a1f8b67a01908f7e99c282ea824a1fc7f43ff75
parente63d62ca88b7fe8aac1e988bdba3cc1b3dd27bdc (diff)
downloadmongo-47fc424ca082fc11d04fe0dedc550a3b87e689c5.tar.gz
SERVER-32468 Use a 1-node CSRS in non-stepdown sharding passthroughs testsr3.6.3-rc0
(cherry picked from commit 0aeb5ce7e8d4a190dac43fd110533eef149f7880)
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokelib/testing/fixtures/shardedcluster.py2
5 files changed, 5 insertions, 1 deletions
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
index 61ef858c0d7..04df33f67a8 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
@@ -187,6 +187,7 @@ executor:
shard_options:
voting_secondaries: true
configsvr_options:
+ num_nodes: 3
voting_secondaries: true
enable_sharding:
- test
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
index 7649329d3c2..0afa45f28c3 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
@@ -252,6 +252,7 @@ executor:
shard_options:
voting_secondaries: true
configsvr_options:
+ num_nodes: 3
voting_secondaries: true
enable_sharding:
- test
diff --git a/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml b/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
index 4157fe562d1..2cc6063915b 100644
--- a/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
+++ b/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
@@ -77,6 +77,7 @@ executor:
shard_options:
voting_secondaries: true
configsvr_options:
+ num_nodes: 3
voting_secondaries: true
enable_sharding:
- test
diff --git a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
index ec092595f5e..0fd0c3c3160 100644
--- a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
@@ -234,6 +234,7 @@ executor:
shard_options:
voting_secondaries: true
configsvr_options:
+ num_nodes: 3
voting_secondaries: true
enable_sharding:
- test
diff --git a/buildscripts/resmokelib/testing/fixtures/shardedcluster.py b/buildscripts/resmokelib/testing/fixtures/shardedcluster.py
index 4f90d16f517..06e84c213bd 100644
--- a/buildscripts/resmokelib/testing/fixtures/shardedcluster.py
+++ b/buildscripts/resmokelib/testing/fixtures/shardedcluster.py
@@ -208,7 +208,7 @@ class ShardedClusterFixture(interface.Fixture):
auth_options = configsvr_options.pop("auth_options", self.auth_options)
mongod_executable = configsvr_options.pop("mongod_executable", self.mongod_executable)
preserve_dbpath = configsvr_options.pop("preserve_dbpath", self.preserve_dbpath)
- num_nodes = configsvr_options.pop("num_nodes", 3)
+ num_nodes = configsvr_options.pop("num_nodes", 1)
replset_config_options = configsvr_options.pop("replset_config_options", {})
replset_config_options["configsvr"] = True