Skip to content

Commit 946abb3

Browse files
committed
async test fix
1 parent 0bca476 commit 946abb3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

driver/src/test/java/com/arangodb/ArangoCollectionAsyncTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ void createPersistentIndexWithOptions(ArangoCollectionAsync collection) throws E
15711571
@MethodSource("asyncCols")
15721572
void createZKDIndex(ArangoCollectionAsync collection) throws ExecutionException, InterruptedException {
15731573
assumeTrue(isAtLeastVersion(3, 9));
1574-
collection.truncate();
1574+
collection.truncate().get();
15751575
String f1 = "field-" + rnd();
15761576
String f2 = "field-" + rnd();
15771577
final Collection<String> fields = Arrays.asList(f1, f2);

resilience-tests/src/test/java/resilience/timeout/TimeoutTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import static org.assertj.core.api.Assertions.assertThat;
1414
import static org.assertj.core.api.Assertions.catchThrowable;
15-
import static org.junit.jupiter.api.Assumptions.assumeTrue;
1615

1716
/**
1817
* @author Michele Rastelli

0 commit comments

Comments
 (0)