From 07d8c85b951c5890a5c17e83245b1dcb0123f318 Mon Sep 17 00:00:00 2001 From: yrizhkov Date: Thu, 5 Dec 2024 11:40:56 +0200 Subject: [PATCH] reduce network timeout in transaction test --- src/test/java/com/aerospike/jdbc/TransactionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/aerospike/jdbc/TransactionTest.java b/src/test/java/com/aerospike/jdbc/TransactionTest.java index f24c3ca..1ac2b7f 100644 --- a/src/test/java/com/aerospike/jdbc/TransactionTest.java +++ b/src/test/java/com/aerospike/jdbc/TransactionTest.java @@ -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