diff options
author | Kevin Matulef <matulef@10gen.com> | 2012-07-24 17:23:04 -0400 |
---|---|---|
committer | Kevin Matulef <matulef@10gen.com> | 2012-07-24 17:23:04 -0400 |
commit | ace93c13920d6577b53a5547bbe895f89db55717 (patch) | |
tree | b641997b077b5f0b4eb426ebd53bc83eace6f264 /jstests/replsets/capped_id.js | |
parent | 6c772729d46ac0d8024947842adde9940f769725 (diff) | |
download | mongo-ace93c13920d6577b53a5547bbe895f89db55717.tar.gz |
add setSlaveOk to capped_id test
Diffstat (limited to 'jstests/replsets/capped_id.js')
-rw-r--r-- | jstests/replsets/capped_id.js | 2 |
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++ ){ |