[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: remove DB files before running tests
From: |
gnunet |
Subject: |
[libeufin] branch master updated: remove DB files before running tests |
Date: |
Mon, 07 Dec 2020 14:10:37 +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 c155347 remove DB files before running tests
c155347 is described below
commit c1553475cdf5614159b1e46f602567a5fdd61b85
Author: MS <ms@taler.net>
AuthorDate: Mon Dec 7 14:10:28 2020 +0100
remove DB files before running tests
---
integration-tests/tests.py | 3 +++
integration-tests/util.py | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index b82fcc0..923eed9 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -134,7 +134,10 @@ def prepareNexus():
)
)
+removeStaleDatabase(NEXUS_DB)
startNexus(NEXUS_DB)
+
+removeStaleDatabase(SANDBOX_DB)
startSandbox(SANDBOX_DB)
def setup_function():
diff --git a/integration-tests/util.py b/integration-tests/util.py
index c4a4e8f..ca6949a 100644
--- a/integration-tests/util.py
+++ b/integration-tests/util.py
@@ -45,6 +45,10 @@ def kill(name, s):
s.terminate()
s.wait()
+def removeStaleDatabase(dbName):
+ db_full_path = str(Path.cwd() / dbName)
+ os.remove(db_full_path)
+
def makeNexusSuperuser(dbName):
db_full_path = str(Path.cwd() / dbName)
check_call(
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: remove DB files before running tests,
gnunet <=