[java-plugin-storage-jdbc] branch main updated: Extend DefaultQueryTimeout for the hsql datasource

Rod Widdowson rdw at steadingsoftware.com
Tue Oct 3 13:22:14 UTC 2023


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-plugin-storage-jdbc.

View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-storage-jdbc.git;a=commit;h=5882436a264dd6ef179201d169d1efe2695438a2

The following commit(s) were added to refs/heads/main by this push:
     new 5882436  Extend DefaultQueryTimeout for the hsql datasource
5882436 is described below

commit 5882436a264dd6ef179201d169d1efe2695438a2
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Oct 3 14:20:35 2023 +0100

    Extend DefaultQueryTimeout for the hsql datasource
---
 .../net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageServiceTest.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jdbc-storage-impl/src/test/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageServiceTest.java b/jdbc-storage-impl/src/test/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageServiceTest.java
index ebbc53d..fba7dd1 100644
--- a/jdbc-storage-impl/src/test/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageServiceTest.java
+++ b/jdbc-storage-impl/src/test/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageServiceTest.java
@@ -92,6 +92,7 @@ public class JDBCStorageServiceTest extends StorageServiceTest {
     private void setupHSSQLDB() throws ClassNotFoundException, SQLException {
         dataSource.setUrl("jdbc:hsqldb:mem:JPAStorageService");
         dataSource.setUsername("sa");
+        dataSource.setDefaultQueryTimeout(3 * dataSource.getDefaultQueryTimeout());
         dataSource.setPassword("");
         try (final Connection dbConn = dataSource.getConnection()) {
             final Statement statement = dbConn.createStatement();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list