Skip to content

Commit 6e08bdc

Browse files
committed
SERVER-6675 - try to fix auth_ro.js
1 parent 790a4f7 commit 6e08bdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jstests/sharding/auth_ro.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ var createShardedCollection = function() {
1717

1818
// make sure there are chunks on both shards
1919
printjson(configDB.chunks.find().toArray());
20+
st.awaitBalance( coll.getName(), coll.getDB().getName() , 60 * 5 * 1000 /* 5 minutes */ );
2021
};
2122

2223
var populateCollection = function(collection) {
2324
for (i=0; i<100000; i++) {
2425
collection.insert({x:i, y: i, foo:"bar", date: new Date(), r:Math.random()});
2526
}
27+
collection.getDB().getLastError();
2628
};
2729

2830
var getROUser = function(x) {

0 commit comments

Comments
 (0)