Skip to content

Commit 86d514b

Browse files
committed
test: fix pooling tests
1 parent 9949c8f commit 86d514b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tarantool-pooling/src/test/java/io/tarantool/pool/integration/BasePoolTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ protected List<IProtoClient> getConnects(IProtoClientPool pool, String tag, int
162162
futures.add(pool.get(tag, i));
163163
}
164164
CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])).join();
165+
for (CompletableFuture<IProtoClient> future : futures) {
166+
clients.add(future.join());
167+
}
165168
return clients;
166169
}
167170

0 commit comments

Comments
 (0)