summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2013-03-05 10:35:07 -0500
committerRandolph Tan <randolph@10gen.com>2013-03-05 11:18:32 -0500
commitb3162303cea18e7dea467067246312376ccaee04 (patch)
tree560b1fc954e50861481b1983d98ef12e940a9145
parentf69af0110f837371b45f2939a5e5c991357d9b2d (diff)
downloadmongo-b3162303cea18e7dea467067246312376ccaee04.tar.gz
SERVER-8849 read_pref.js failure in RHEL-64bit
Make sure primary node does not change during the entire test.
-rwxr-xr-xjstests/sharding/read_pref.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/read_pref.js b/jstests/sharding/read_pref.js
index f6e6b5d73fe..e5d1febeed0 100755
--- a/jstests/sharding/read_pref.js
+++ b/jstests/sharding/read_pref.js
@@ -31,6 +31,7 @@ var doTest = function(useDollarQuerySyntax) {
}
else {
node.tags = SEC_TAGS[secIdx++];
+ node.priority = 0;
}
}