From b56246ca93e027fa453fc8163a4d5139999df1aa Mon Sep 17 00:00:00 2001 From: Grzegorz Grzybek Date: Mon, 25 Mar 2024 10:18:29 +0100 Subject: [PATCH] [#349] Add podman instructions for PostgreSQL --- .../pax/jdbc/test/postgresql/PostgresqlDataSourceTest.java | 4 ++++ pax-jdbc-itest/src/test/resources/jdbc.properties | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/postgresql/PostgresqlDataSourceTest.java b/pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/postgresql/PostgresqlDataSourceTest.java index fb8ebdc2..cc618658 100644 --- a/pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/postgresql/PostgresqlDataSourceTest.java +++ b/pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/postgresql/PostgresqlDataSourceTest.java @@ -36,6 +36,10 @@ public class PostgresqlDataSourceTest extends AbstractJdbcTest { + /* + $ podman run --name pax.jdbc.postgresql -p 5432:5432 -e POSTGRES_PASSWORD=paxjdbc -d postgres + */ + @Rule public ServerConfiguration config = new ServerConfiguration("postgresql"); diff --git a/pax-jdbc-itest/src/test/resources/jdbc.properties b/pax-jdbc-itest/src/test/resources/jdbc.properties index 42512494..9fce3805 100644 --- a/pax-jdbc-itest/src/test/resources/jdbc.properties +++ b/pax-jdbc-itest/src/test/resources/jdbc.properties @@ -17,7 +17,7 @@ pax.jdbc.postgresql.serverName = localhost pax.jdbc.postgresql.portNumber = 5432 pax.jdbc.postgresql.databaseName = postgres -pax.jdbc.postgresql.user = paxjdbc +pax.jdbc.postgresql.user = postgres pax.jdbc.postgresql.password = paxjdbc pax.jdbc.mysql.serverName = localhost