diff options
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml | 1 | ||||
-rw-r--r-- | buildscripts/resmokelib/testing/fixtures/replicaset.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml b/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml index 366414c6b05..e39c61783d0 100644 --- a/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml +++ b/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml @@ -202,6 +202,7 @@ selector: - jstests/sharding/merge_with_move_primary.js # Runs commands directly on the config server primary and is not robust to the primary changing. - jstests/sharding/read_write_concern_defaults_commands_api.js + - jstests/sharding/read_write_concern_defaults_propagation.js executor: config: diff --git a/buildscripts/resmokelib/testing/fixtures/replicaset.py b/buildscripts/resmokelib/testing/fixtures/replicaset.py index 7f4851128a2..97b8697312a 100644 --- a/buildscripts/resmokelib/testing/fixtures/replicaset.py +++ b/buildscripts/resmokelib/testing/fixtures/replicaset.py @@ -397,8 +397,8 @@ class ReplicaSetFixture(interface.ReplFixture): # pylint: disable=too-many-inst cmd["defaultReadConcern"] = self.default_read_concern if self.default_write_concern is not None: cmd["defaultWriteConcern"] = self.default_write_concern - for node in self.nodes: - node.mongo_client().admin.command(cmd) + primary = self.nodes[0] + primary.mongo_client().admin.command(cmd) def _do_teardown(self, kill=False): self.logger.info("Stopping all members of the replica set...") |