diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2019-12-20 22:22:42 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 22:22:42 +0000 |
commit | 7d925439532fd9bbe222f679bfd2a9de99ce476d (patch) | |
tree | 79d7be9a7634257cb2e9009d0062363f1e5c7e3c /buildscripts | |
parent | 8a002bc23bb65134c7d7b317abd54b846af05938 (diff) | |
download | mongo-7d925439532fd9bbe222f679bfd2a9de99ce476d.tar.gz |
SERVER-44890 MongoD RWCDefaults get refreshed through the OpObserver
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...") |