Skip to content

Commit

Permalink
reduce network timeout in transaction test
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Dec 5, 2024
1 parent 7185df3 commit 07d8c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/aerospike/jdbc/TransactionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static void connectionInit() throws Exception {
String url = String.format("jdbc:aerospike:%s:%d/%s?sendKey=true&user=%s&password=%s&durableDelete=true",
HOSTNAME, PORT, NAMESPACE, "", "");
connection = DriverManager.getConnection(url);
connection.setNetworkTimeout(Executors.newSingleThreadExecutor(), 50000);
connection.setNetworkTimeout(Executors.newSingleThreadExecutor(), 5000);
}

@AfterClass
Expand Down

0 comments on commit 07d8c85

Please sign in to comment.