gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: command line DB string gone (from test


From: gnunet
Subject: [libeufin] branch master updated: command line DB string gone (from tests)
Date: Tue, 26 Jan 2021 15:20:14 +0100

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 1777f8f  command line DB string gone (from tests)
1777f8f is described below

commit 1777f8f4870074bdb84f7a2534280765167ac1d1
Author: MS <ms@taler.net>
AuthorDate: Tue Jan 26 15:20:08 2021 +0100

    command line DB string gone (from tests)
---
 integration-tests/tests.py |  3 +++
 integration-tests/util.py  | 20 ++++++++++----------
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index b4d0a3e..5876029 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -31,6 +31,9 @@ PERSONA = LibeufinPersona(
     ebics_details = EbicsDetails(SANDBOX_URL + "/ebicsweb")
 )
 
+os.environ["LIBEUFIN_NEXUS_DB_CONNECTION"] = DB
+os.environ["LIBEUFIN_SANDBOX_DB_CONNECTION"] = DB
+
 def prepareSandbox():
     # make ebics host at sandbox
     assertResponse(
diff --git a/integration-tests/util.py b/integration-tests/util.py
index df5ad03..9e9b19d 100644
--- a/integration-tests/util.py
+++ b/integration-tests/util.py
@@ -102,36 +102,36 @@ def kill(name, s):
     s.terminate()
     s.wait()
 
-def makeNexusSuperuser(dbConnString):
+def makeNexusSuperuser():
     check_call([
         "../gradlew",
         "-q", "--console=plain",
         "-p", "..",
         "nexus:run",
-        f"--args=superuser admin --password x --db-conn-string={dbConnString}",
+        f"--args=superuser admin --password x",
     ])
 
-def dropSandboxTables(dbConnString):
+def dropSandboxTables():
     check_call([
         "../gradlew",
         "-q", "--console=plain",
         "-p", "..",
         "sandbox:run",
-        f"--args=reset-tables --db-conn-string={dbConnString}"
+        f"--args=reset-tables"
     ])
 
 
-def dropNexusTables(dbConnString):
+def dropNexusTables():
     check_call([
         "../gradlew",
         "-q", "--console=plain",
         "-p", "..",
         "nexus:run",
-        f"--args=reset-tables --db-conn-string={dbConnString}"
+        f"--args=reset-tables"
     ])
 
 
-def startSandbox(dbConnString):
+def startSandbox():
     check_call(["../gradlew", "-q", "--console=plain", "-p", "..", 
"sandbox:assemble"])
     checkPort(5000)
     sandbox = Popen([
@@ -141,7 +141,7 @@ def startSandbox(dbConnString):
         "..",
         "sandbox:run",
         "--console=plain",
-        "--args=serve --db-conn-string={}".format(dbConnString)],
+        "--args=serve"],
         stdin=DEVNULL,
         stdout=open("sandbox-stdout.log", "w"),
         stderr=open("sandbox-stderr.log", "w")
@@ -161,7 +161,7 @@ def startSandbox(dbConnString):
         break
 
 
-def startNexus(dbConnString):
+def startNexus():
     check_call(
         ["../gradlew", "-q", "--console=plain", "-p", "..", "nexus:assemble",]
     )
@@ -173,7 +173,7 @@ def startNexus(dbConnString):
         "..",
         "nexus:run",
         "--console=plain",
-        "--args=serve --db-conn-string={}".format(dbConnString)],
+        "--args=serve")],
         stdin=DEVNULL,
         stdout=open("nexus-stdout.log", "w"),
         stderr=open("nexus-stderr.log", "w")

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]