diff options
author | Aaron <aaron@10gen.com> | 2011-02-08 15:00:41 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-02-08 15:00:41 -0800 |
commit | 79485cc77cac4c2cc3b438fcbb3a0d835815ea63 (patch) | |
tree | 7018ecf5a00c3a25b625fa005adeb480f905dd69 /jstests/coveredIndex1.js | |
parent | 6d04d3a7c8972102fd210634837a21da04d8a81b (diff) | |
download | mongo-79485cc77cac4c2cc3b438fcbb3a0d835815ea63.tar.gz |
clear indexes at beginning of covered index tests so they will pass consistently if run multiple times in a row
Diffstat (limited to 'jstests/coveredIndex1.js')
-rw-r--r-- | jstests/coveredIndex1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/coveredIndex1.js b/jstests/coveredIndex1.js index 94801493054..1d6fe363849 100644 --- a/jstests/coveredIndex1.js +++ b/jstests/coveredIndex1.js @@ -1,6 +1,6 @@ t = db["jstests_coveredIndex1"]; -t.remove( {} ); +t.drop(); t.save({fn: "john", ln: "doe"}) t.save({fn: "jack", ln: "doe"}) |