summaryrefslogtreecommitdiff
path: root/jstests/sharding/auto1.js
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-03-17 00:05:43 +0100
committerAntonin Kral <a.kral@bobek.cz>2011-03-17 00:05:43 +0100
commit582fc32574a3b158c81e49cb00e6ae59205e66ba (patch)
treeac64a3243e0d2121709f685695247052858115c8 /jstests/sharding/auto1.js
parent2761bffa96595ac1698d86bbc2e95ebb0d4d6e93 (diff)
downloadmongodb-582fc32574a3b158c81e49cb00e6ae59205e66ba.tar.gz
Imported Upstream version 1.8.0
Diffstat (limited to 'jstests/sharding/auto1.js')
-rw-r--r--jstests/sharding/auto1.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/sharding/auto1.js b/jstests/sharding/auto1.js
index 346c43a..bdd43e9 100644
--- a/jstests/sharding/auto1.js
+++ b/jstests/sharding/auto1.js
@@ -32,15 +32,19 @@ print( "datasize: " + tojson( s.getServer( "test" ).getDB( "admin" ).runCommand(
for ( ; i<200; i++ ){
coll.save( { num : i , s : bigString } );
}
+db.getLastError();
s.printChunks()
+s.printChangeLog()
counts.push( s.config.chunks.count() );
for ( ; i<400; i++ ){
coll.save( { num : i , s : bigString } );
}
+db.getLastError();
s.printChunks();
+s.printChangeLog()
counts.push( s.config.chunks.count() );
for ( ; i<700; i++ ){
@@ -49,6 +53,7 @@ for ( ; i<700; i++ ){
db.getLastError();
s.printChunks();
+s.printChangeLog()
counts.push( s.config.chunks.count() );
assert( counts[counts.length-1] > counts[0] , "counts 1 : " + tojson( counts ) )