Skip to content

Commit c454de9

Browse files
authored
Increase cassandra connect timeout (#8879)
1 parent 79b5140 commit c454de9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

instrumentation/cassandra/cassandra-4-common/testing/src/main/java/io/opentelemetry/cassandra/v4/common/AbstractCassandraTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ protected CqlSession getSession(String keyspace) {
300300
DriverConfigLoader configLoader =
301301
DefaultDriverConfigLoader.builder()
302302
.withDuration(DefaultDriverOption.REQUEST_TIMEOUT, Duration.ofSeconds(0))
303+
.withDuration(DefaultDriverOption.CONNECTION_INIT_QUERY_TIMEOUT, Duration.ofSeconds(10))
303304
.build();
304305
return wrap(
305306
CqlSession.builder()

0 commit comments

Comments
 (0)