[java-opensaml] 03/08: OSJ-342 Investigate Strategies to end of life our use of Hibernate in V5
Rod Widdowson
rdw at steadingsoftware.com
Sun May 15 14:59:17 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch dev/OSJ-342
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=f015f0e7b0950a529cc94a276f709cabd480130e
commit f015f0e7b0950a529cc94a276f709cabd480130e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue May 10 20:08:27 2022 +0100
OSJ-342 Investigate Strategies to end of life our use of Hibernate in V5
https://shibboleth.atlassian.net/browse/OSJ-342
More Debugging for HSQLDB
---
.../java/org/opensaml/storage/impl/HSQLDBStorageServiceTest.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/HSQLDBStorageServiceTest.java b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/HSQLDBStorageServiceTest.java
index 242b96de1..7526711ce 100644
--- a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/HSQLDBStorageServiceTest.java
+++ b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/HSQLDBStorageServiceTest.java
@@ -72,10 +72,11 @@ public class HSQLDBStorageServiceTest {
}
- @Test(threadPoolSize = 4, invocationCount = 10)
+ @Test(threadPoolSize = 10, invocationCount = 10)
public void strings() throws IOException {
threadInit();
+ try {
String context = Long.toString(random.nextLong());
for (int i = 1; i <= 100; i++) {
@@ -110,6 +111,9 @@ public class HSQLDBStorageServiceTest {
StorageRecord<?> rec = shared.read(context, Integer.toString(i));
Assert.assertNull(rec);
}
+ } catch (java.lang.AssertionError e) {
+ System.out.println("FAILURE: " + e);
+ }
}
/**
@@ -119,7 +123,7 @@ public class HSQLDBStorageServiceTest {
try {
dataSource = new BasicDataSource();
dataSource.setDriverClassName("org.hsqldb.jdbcDriver");
- dataSource.setUrl("jdbc:hsqldb:mem:JPAStorageService");
+ dataSource.setUrl("jdbc:hsqldb:mem:Test;hsqldb.sqllog=3");
dataSource.setUsername("SA");
dataSource.setPassword("");
Connection dbConn;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list