summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/replsets/replsetarb2.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/replsets/replsetarb2.js b/jstests/replsets/replsetarb2.js
index 0dd8a3ded31..0e4c79111bc 100644
--- a/jstests/replsets/replsetarb2.js
+++ b/jstests/replsets/replsetarb2.js
@@ -29,6 +29,8 @@ doTest = function( signal ) {
master.getDB("foo").foo.insert({a: "foo"});
replTest.awaitReplication();
+ assert( ! conns[1].getDB( "admin" ).runCommand( "ismaster" ).secondary , "arbiter shouldn't be secondary" )
+
// Now kill the original master
mId = replTest.getNodeId( master );
replTest.stop( mId );