You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@artemis.apache.org by cl...@apache.org on 2026/10/08 00:59:14 UTC

(artemis) branch main updated: ARTEMIS-6283 Fixing DB integrations for tests

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new c806ef25c7 ARTEMIS-6283 Fixing DB integrations for tests
c806ef25c7 is described below

commit c806ef25c7cd0c94120a131bc42522603199f9a1
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Oct 7 19:07:04 2026 -0400

    ARTEMIS-6283 Fixing DB integrations for tests
---
 .../activemq/artemis/tests/db/common/ParameterDBTestBase.java    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/db-tests/src/test/java/org/apache/activemq/artemis/tests/db/common/ParameterDBTestBase.java b/tests/db-tests/src/test/java/org/apache/activemq/artemis/tests/db/common/ParameterDBTestBase.java
index 3166e42285..e438aebde7 100644
--- a/tests/db-tests/src/test/java/org/apache/activemq/artemis/tests/db/common/ParameterDBTestBase.java
+++ b/tests/db-tests/src/test/java/org/apache/activemq/artemis/tests/db/common/ParameterDBTestBase.java
@@ -102,6 +102,15 @@ public abstract class ParameterDBTestBase extends DBTestBase {
       }
    }
 
+   @Override
+   protected String getJDBCUser() {
+      return database == Database.HSQL ? super.getJDBCUser() : null;
+   }
+
+   @Override
+   protected String getJDBCPassword() {
+      return database == Database.HSQL ? super.getJDBCPassword() : null;
+   }
 
    protected static List<Object[]> convertParameters(List<Database> dbList) {
       List<Object[]> parameters = new ArrayList<>();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@artemis.apache.org
For additional commands, e-mail: commits-help@artemis.apache.org