summaryrefslogtreecommitdiff
path: root/jstests/sharding/authCommands.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-07-12 18:33:28 -0400
committerSpencer T Brody <spencer@10gen.com>2013-07-12 18:33:28 -0400
commit458cfbf633d94357212d03587e6544d296df58d5 (patch)
tree6afc2b981fc114103b1449c0381232cc279f1281 /jstests/sharding/authCommands.js
parent6e3ccc5649d16fd9940bc8fd1b490556d5767bf8 (diff)
downloadmongo-458cfbf633d94357212d03587e6544d296df58d5.tar.gz
SERVER-10127 Add extra assert to catch incomplete initial data earlier in sharding/authCommands.js
Diffstat (limited to 'jstests/sharding/authCommands.js')
-rw-r--r--jstests/sharding/authCommands.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/sharding/authCommands.js b/jstests/sharding/authCommands.js
index 84a3f76fc44..a66975ed4b5 100644
--- a/jstests/sharding/authCommands.js
+++ b/jstests/sharding/authCommands.js
@@ -58,6 +58,8 @@ for ( var i = 0; i < 100; i++ ) {
}
testDB.getLastError( 'majority' );
+assert.eq(1000, testDB.foo.count());
+
// Wait for the balancer to start back up
st.startBalancer()