Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-5244 clean up tests that leave a lot of data behind

  • Loading branch information...
commit 77e7786e7aae1d6446ad5f9357ced5973ed0a6b6 1 parent 0d40ba0
@milkie milkie authored
View
2  jstests/indexe.js
@@ -19,3 +19,5 @@ assert.eq( num , t.find().sort( { a : 1 } ).count() , "A2a" );
assert.eq( num , t.find().sort( { a : "b" } ).itcount() , "A2b" );
assert.eq( num , t.find( { a : "b" } ).count() , "B2" );
assert.eq( num , t.find( { a : "b" } ).itcount() , "C3" );
+
+t.drop();
View
2  jstests/js3.js
@@ -72,3 +72,5 @@ for( z = 0; z < 2; z++ ) {
debug( "done iter" );
}
+
+t.drop();
View
4 jstests/mr1.js
@@ -178,3 +178,7 @@ if ( true ){
res = db.runCommand( { mapreduce : "mr1" , map : m , reduce : r , out : "mr1_out" } );
assert( res.ok , "should be ok" );
+
+t.drop();
+t1 = db.mr1.out;
+t1.drop();
View
1  jstests/mr_optim.js
@@ -45,3 +45,4 @@ res.drop();
assert.eq(x, x2, "object from inline and collection are not equal")
+t.drop();
View
1  jstests/sortj.js
@@ -14,3 +14,4 @@ for( i = 0; i < 1000; ++i ) {
assert.throws( function() {
t.find( { a:{ $gte:0 }, c:null } ).sort( { d:1 } ).itcount();
} );
+t.drop();
View
2  jstests/update.js
@@ -36,3 +36,5 @@ assert(stats.nindexes == 1);
var pf = stats.paddingFactor;
print("update.js padding factor: " + pf);
assert(pf > 1.7 && pf < 2);
+
+asdf.drop();
Please sign in to comment.
Something went wrong with that request. Please try again.