diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-10-12 12:25:39 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-10-12 12:55:42 -0400 |
commit | b186710fdc197117c7bbc2df2492868e1ff5aa92 (patch) | |
tree | 4e1b36e70747e14ad99b0398b7dc6b05fca321b9 /jstests/replsets/rollback2.js | |
parent | fc00132dd762f1ba12dd462e780ffd4e232c96e4 (diff) | |
download | mongo-b186710fdc197117c7bbc2df2492868e1ff5aa92.tar.gz |
SERVER-13635: make some replset tests generic
Diffstat (limited to 'jstests/replsets/rollback2.js')
-rw-r--r-- | jstests/replsets/rollback2.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/replsets/rollback2.js b/jstests/replsets/rollback2.js index d80e7b7349e..e187af18bc1 100644 --- a/jstests/replsets/rollback2.js +++ b/jstests/replsets/rollback2.js @@ -52,8 +52,8 @@ function wait(f) { function dbs_match(a, b) { print("dbs_match"); - var ac = a.system.namespaces.find().sort({name:1}).toArray(); - var bc = b.system.namespaces.find().sort({name:1}).toArray(); + var ac = a.getCollectionNames(); + var bc = b.getCollectionNames(); if (!friendlyEqual(ac, bc)) { print("dbs_match: namespaces don't match"); print("\n\n"); @@ -183,7 +183,6 @@ doTest = function (signal) { return status.members[1].state == 2; }); - A.runCommand({ replSetTest: 1, blind: true }); reconnect(a, b); |