summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset2.js
diff options
context:
space:
mode:
authorKyle Banker <kylebanker@gmail.com>2010-08-26 12:19:08 -0400
committerKyle Banker <kylebanker@gmail.com>2010-08-26 12:19:08 -0400
commitf832818fec3ad4096104d0086a1e44f09fe915c3 (patch)
tree27e58276c54f8e4099c19eb9965c26c57ef487b1 /jstests/replsets/replset2.js
parentd11ec32d5e19cb067d477787f475162b51a7b553 (diff)
parent22b2a2988cd158ab13eed6653bc4ac173c3b1204 (diff)
downloadmongo-f832818fec3ad4096104d0086a1e44f09fe915c3.tar.gz
Merge branch 'master' of github.com:mongodb/mongo
Diffstat (limited to 'jstests/replsets/replset2.js')
-rw-r--r--jstests/replsets/replset2.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/replsets/replset2.js b/jstests/replsets/replset2.js
index 4f5d7fb5ebd..f18b467418f 100644
--- a/jstests/replsets/replset2.js
+++ b/jstests/replsets/replset2.js
@@ -90,11 +90,10 @@ doTest = function (signal) {
printjson(m1);
assert(m1['n'] == 1, "replset2.js Failed to save to master");
-
- var s0 = slaves[0].getDB(testDB).foo.findOne({ n: 1 });
+ s0 = slaves[0].getDB(testDB).foo.findOne({ n: 1 });
assert(s0['n'] == 1, "replset2.js Failed to replicate to slave 0");
- var s1 = slaves[1].getDB(testDB).foo.findOne({ n: 1 });
+ s1 = slaves[1].getDB(testDB).foo.findOne({ n: 1 });
assert(s1['n'] == 1, "replset2.js Failed to replicate to slave 1");
// Test getlasterror with large insert