Skip to content

Commit 726354c

Browse files
committed
JAVA-1165: Also backing out the test
1 parent 79a8b3e commit 726354c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/test/com/mongodb/DBCursorTest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -674,20 +674,6 @@ public void testShowDiskLoc() {
674674
}
675675
}
676676

677-
@Test
678-
public void testToArrayCursorClosed() {
679-
final DBCollection c = collection;
680-
681-
// Insert some data.
682-
for (int i = 0; i < 4; i++) {
683-
c.insert(new BasicDBObject("one", "two"));
684-
}
685-
686-
final DBCursor cursor = c.find().batchSize(3); // ensure under normal conditions the cursor would remain
687-
cursor.toArray(3);
688-
assertEquals(0L, cursor.getCursorId());
689-
}
690-
691677
@Test(expected = MongoException.class)
692678
public void testSnapshotWithHint() {
693679
DBCursor cursor = new DBCursor(collection, new BasicDBObject(), new BasicDBObject(), ReadPreference.primary())

0 commit comments

Comments
 (0)