diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-04-24 16:00:09 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-04-24 16:03:58 -0400 |
commit | 09db1bc1bedf7ece0a0e12236259ead905eee5de (patch) | |
tree | 9ce8704eba57c5141066b94408b4d721d59ebf53 | |
parent | f53de1128ddff7e99c5a6047cf56a6f5000d24c4 (diff) | |
download | mongo-09db1bc1bedf7ece0a0e12236259ead905eee5de.tar.gz |
captrunc doesn't replicate, so drop collections at end of test
-rw-r--r-- | jstests/capped6.js | 2 | ||||
-rw-r--r-- | jstests/capped8.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/jstests/capped6.js b/jstests/capped6.js index 098f667732f..5986f086b9c 100644 --- a/jstests/capped6.js +++ b/jstests/capped6.js @@ -105,3 +105,5 @@ tzz = db.capped6; for( var i = 0; i < 10; ++i ) { doTest(); } + +//tzz.drop(); diff --git a/jstests/capped8.js b/jstests/capped8.js index e5b28dc9234..0f30e37aebf 100644 --- a/jstests/capped8.js +++ b/jstests/capped8.js @@ -104,3 +104,5 @@ print("pass " + pass++); t.drop(); db._dbCommand( { create:"jstests_capped8", capped: true, $nExtents: [ 10000 ] } ); testTruncate(); + +t.drop(); |