Skip to content

Commit 038e932

Browse files
author
Christian Hergert
committed
tests: drop collection when we have finished with it.
1 parent 87a2587 commit 038e932

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test-mongoc-client.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,9 @@ test_exhaust_cursor (void)
493493
bson_destroy(&b[i]);
494494
}
495495

496+
r = mongoc_collection_drop (collection, &error);
497+
assert (r);
498+
496499
mongoc_cursor_destroy (cursor2);
497500
mongoc_collection_destroy(collection);
498501
mongoc_client_destroy (client);

0 commit comments

Comments
 (0)