summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-23 12:32:37 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-23 12:32:37 +0100
commit8d51dd18edb5dfbaf5a195374ebffdeba7c59542 (patch)
treecf13aff006ffd1c92dd467c3813810959db74a01
parenta3b56975a4b4c3526340f18839909b07237ce827 (diff)
downloadexchange-8d51dd18edb5dfbaf5a195374ebffdeba7c59542.tar.gz
exchange-8d51dd18edb5dfbaf5a195374ebffdeba7c59542.tar.bz2
exchange-8d51dd18edb5dfbaf5a195374ebffdeba7c59542.zip
do NOT reset DB in taler-bank-manage-testing, not healthy for auditor test
-rwxr-xr-xcontrib/taler-bank-manage-testing3
-rw-r--r--src/bank-lib/testing_api_helpers.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/contrib/taler-bank-manage-testing b/contrib/taler-bank-manage-testing
index 0002001f..7495f64f 100755
--- a/contrib/taler-bank-manage-testing
+++ b/contrib/taler-bank-manage-testing
@@ -10,8 +10,7 @@
set -eu
-# Reset database, provide starting accounts
-taler-bank-manage -c $1 --with-db $2 django flush --no-input
+# Ensure starting accounts exist
taler-bank-manage -c $1 --with-db $2 django provide_accounts
# This is 'x' hashed by Django
diff --git a/src/bank-lib/testing_api_helpers.c b/src/bank-lib/testing_api_helpers.c
index 499129ae..d97b4a5c 100644
--- a/src/bank-lib/testing_api_helpers.c
+++ b/src/bank-lib/testing_api_helpers.c
@@ -243,9 +243,6 @@ TALER_TESTING_run_bank (const char *config_filename,
* Prepare the bank execution. Check if the port is available
* and reset database.
*
- * NOTE: resetting the database is now done by taler-bank-manage-testing
- * and should be removed here (once it works...)! FIXME!
- *
* @param config_filename configuration file name.
*
* @return the base url, or NULL upon errors. Must be freed