diff options
author | Kevin Albertson <kevin.albertson@10gen.com> | 2017-12-27 16:32:40 -0500 |
---|---|---|
committer | Kevin Albertson <kevin.albertson@10gen.com> | 2018-01-11 09:30:09 -0500 |
commit | 6bc007607ba290a1ebee316a912ea074132f8e98 (patch) | |
tree | d0630525a5580b039b30508569ee60ba89e6e27b | |
parent | 23fe9f1a5d762e6ff9ab2c202556fdd2a1c40935 (diff) | |
download | mongo-6bc007607ba290a1ebee316a912ea074132f8e98.tar.gz |
SERVER-31670 fixture secondary defaults to 0 votes
(cherry picked from commit af6bd1d39b42cc3d99c5854c6e280df31e858442)
-rw-r--r-- | buildscripts/resmokelib/testing/fixtures/replicaset.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/replicaset.py b/buildscripts/resmokelib/testing/fixtures/replicaset.py index 3ac4b870678..b47898e8d9e 100644 --- a/buildscripts/resmokelib/testing/fixtures/replicaset.py +++ b/buildscripts/resmokelib/testing/fixtures/replicaset.py @@ -81,8 +81,6 @@ class ReplicaSetFixture(interface.ReplFixture): member_info = {"_id": i, "host": node.get_connection_string()} if i > 0: member_info["priority"] = 0 - if i >= 7: - # Only 7 nodes in a replica set can vote, so the other members must be non-voting. member_info["votes"] = 0 members.append(member_info) initiate_cmd_obj = {"replSetInitiate": {"_id": self.replset_name, "members": members}} |