Skip to content

Commit

Permalink
SERVER-6700 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Dec 25, 2012
1 parent a3a5fd6 commit 5f45373
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jstests/collmod.js
Expand Up @@ -2,8 +2,11 @@
// Test setting the usePowerOf2Sizes flag, and modifying TTL indexes. // Test setting the usePowerOf2Sizes flag, and modifying TTL indexes.


var coll = "collModTest"; var coll = "collModTest";
db.createCollection( coll );
var t = db.getCollection( coll ); var t = db.getCollection( coll );
t.drop();

db.createCollection( coll );



// Verify the new collection has userFlags set to 0 // Verify the new collection has userFlags set to 0
assert.eq( t.stats().userFlags , 0 , "fresh collection doesn't have userFlags = 0 "); assert.eq( t.stats().userFlags , 0 , "fresh collection doesn't have userFlags = 0 ");
Expand Down

0 comments on commit 5f45373

Please sign in to comment.