diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-12-24 20:11:05 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-12-24 20:11:05 -0500 |
commit | 5f453739cc2d4f17341395115a2d27cda5894f38 (patch) | |
tree | d2f04b6f0d4585b96d0a2f5b135f1b904aa27137 /jstests/collmod.js | |
parent | a3a5fd617cc9bc7df0083c60094ec6d804ddba3a (diff) | |
download | mongo-5f453739cc2d4f17341395115a2d27cda5894f38.tar.gz |
SERVER-6700 fix test
Diffstat (limited to 'jstests/collmod.js')
-rw-r--r-- | jstests/collmod.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/collmod.js b/jstests/collmod.js index dbe95243e02..53458b31e09 100644 --- a/jstests/collmod.js +++ b/jstests/collmod.js @@ -2,8 +2,11 @@ // Test setting the usePowerOf2Sizes flag, and modifying TTL indexes. var coll = "collModTest"; -db.createCollection( coll ); var t = db.getCollection( coll ); +t.drop(); + +db.createCollection( coll ); + // Verify the new collection has userFlags set to 0 assert.eq( t.stats().userFlags , 0 , "fresh collection doesn't have userFlags = 0 "); |