Skip to content

Commit d9ca60b

Browse files
author
mpv1989
committed
Fix tests
1 parent 9fb49e1 commit d9ca60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/arangodb/ArangoDatabaseTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ public void deleteIndex() throws InterruptedException, ExecutionException {
285285
public void getCollections() throws InterruptedException, ExecutionException {
286286
try {
287287
final Collection<CollectionEntity> systemCollections = db.getCollections(null).get();
288-
db.createCollection(COLLECTION_NAME + "1", null);
289-
db.createCollection(COLLECTION_NAME + "2", null);
288+
db.createCollection(COLLECTION_NAME + "1", null).get();
289+
db.createCollection(COLLECTION_NAME + "2", null).get();
290290
final CompletableFuture<Collection<CollectionEntity>> f = db.getCollections(null);
291291
assertThat(f, is(notNullValue()));
292292
f.whenComplete((collections, ex) -> {

0 commit comments

Comments
 (0)