From 5f453739cc2d4f17341395115a2d27cda5894f38 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 24 Dec 2012 20:11:05 -0500 Subject: [PATCH] SERVER-6700 fix test --- jstests/collmod.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jstests/collmod.js b/jstests/collmod.js index dbe95243e0299..53458b31e0963 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 ");