summaryrefslogtreecommitdiff
path: root/jstests/replsets/capped_id.js
diff options
context:
space:
mode:
authorKevin Matulef <matulef@10gen.com>2012-07-24 17:23:04 -0400
committerKevin Matulef <matulef@10gen.com>2012-07-24 17:23:04 -0400
commitace93c13920d6577b53a5547bbe895f89db55717 (patch)
treeb641997b077b5f0b4eb426ebd53bc83eace6f264 /jstests/replsets/capped_id.js
parent6c772729d46ac0d8024947842adde9940f769725 (diff)
downloadmongo-ace93c13920d6577b53a5547bbe895f89db55717.tar.gz
add setSlaveOk to capped_id test
Diffstat (limited to 'jstests/replsets/capped_id.js')
-rw-r--r--jstests/replsets/capped_id.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/replsets/capped_id.js b/jstests/replsets/capped_id.js
index 045b7e067a1..ead0f44b64c 100644
--- a/jstests/replsets/capped_id.js
+++ b/jstests/replsets/capped_id.js
@@ -31,7 +31,9 @@ printjson( replTest.liveNodes );
var dbname = "dbname";
var masterdb = master.getDB( dbname );
var slave1db = slave1.getDB( dbname );
+slave1db.setSlaveOk();
var slave2db = slave2.getDB( dbname );
+slave2db.setSlaveOk();
var numtests = 2;
for( testnum=0; testnum < numtests; testnum++ ){