From 28fcff7c1eb3c336278fab59c7eb352bf4b1e49a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Jul 2023 17:52:10 +0200 Subject: [PATCH] -move to postgres --- src/auditor/test-revocation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh index 47b39975d..a1970e100 100755 --- a/src/auditor/test-revocation.sh +++ b/src/auditor/test-revocation.sh @@ -157,13 +157,13 @@ function get_payto_uri() { } function launch_libeufin () { - export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${DB}-nexus.sqlite3" + export LIBEUFIN_SANDBOX_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432' libeufin-nexus serve \ --port 8082 \ 2> "${MYDIR}/libeufin-nexus-stderr.log" \ > "${MYDIR}/libeufin-nexus-stdout.log" & echo $! > "${MYDIR}/libeufin-nexus.pid" - export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${DB}-sandbox.sqlite3" + export LIBEUFIN_NEXUS_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432' libeufin-sandbox serve \ --no-auth \ --port 18082 \