Skip to content

Commit 412b95c

Browse files
committed
fix: widen prepared statement waits
1 parent f474569 commit 412b95c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

integration-tests/src/test/java/com/datastax/oss/driver/core/cql/PreparedStatementCachingIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ private void invalidationTestInner(
267267
session.execute("ALTER TYPE test_type_2 add i blob");
268268

269269
// wait for latches and fail if they don't reach zero before timeout
270-
assertThat(Uninterruptibles.awaitUninterruptibly(typeChangeEventLatch, 30, TimeUnit.SECONDS))
270+
assertThat(Uninterruptibles.awaitUninterruptibly(typeChangeEventLatch, 60, TimeUnit.SECONDS))
271271
.withFailMessage("typeChangeEventLatch did not trigger before timeout")
272272
.isTrue();
273273
assertThat(
274274
Uninterruptibles.awaitUninterruptibly(
275-
preparedStmtCacheRemoveLatch, 30, TimeUnit.SECONDS))
275+
preparedStmtCacheRemoveLatch, 60, TimeUnit.SECONDS))
276276
.withFailMessage("preparedStmtCacheRemoveLatch did not trigger before timeout")
277277
.isTrue();
278278

0 commit comments

Comments
 (0)