Skip to content

Commit

Permalink
fix index test
Browse files Browse the repository at this point in the history
  • Loading branch information
kristina committed Feb 25, 2009
1 parent cd3de2a commit c9f59f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/driver_test_framework/src/java/Indices.java
Expand Up @@ -26,10 +26,14 @@ public static void setup()
obj = new BasicDBObject();
obj.put( "field1", 1 );
c.ensureIndex( obj );
DBCursor cursor = c.find();
cursor.next();

obj = new BasicDBObject();
obj.put( "field2", 1 );
c.ensureIndex( obj );
cursor = c.find();
cursor.next();
}

public static void validate() {
Expand Down

0 comments on commit c9f59f1

Please sign in to comment.