summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-07-07 11:42:39 -0400
committerBenety Goh <benety@mongodb.com>2017-07-10 10:43:54 -0400
commit19eee0ef7cbf41270f015c5206c823c3ac684725 (patch)
tree23e999458774e66a4e11f5fc32b10979710ba1d2 /jstests/replsets
parent68eb01501452996e2f7102cf0219c13c75a12e74 (diff)
downloadmongo-19eee0ef7cbf41270f015c5206c823c3ac684725.tar.gz
SERVER-30054 update tags.js to make nodes at indexes 3 and 4 unelectable.
Diffstat (limited to 'jstests/replsets')
-rw-r--r--jstests/replsets/libs/tags.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/replsets/libs/tags.js b/jstests/replsets/libs/tags.js
index f21dfbfdc11..0b61c990c49 100644
--- a/jstests/replsets/libs/tags.js
+++ b/jstests/replsets/libs/tags.js
@@ -86,6 +86,7 @@ var TagsTest = function(options) {
{
_id: 3,
host: nodes[3],
+ priority: 0,
tags: {
server: '3',
dc: 'sf',
@@ -96,6 +97,7 @@ var TagsTest = function(options) {
{
_id: 4,
host: nodes[4],
+ priority: 0,
tags: {
server: '4',
dc: 'sf',