[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: fix tests
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: fix tests |
Date: |
Thu, 05 Sep 2019 10:59:12 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 997b40e7 fix tests
997b40e7 is described below
commit 997b40e7052474b6e7b6924291bb7c7b120c2690
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Sep 5 10:59:03 2019 +0200
fix tests
---
src/auditor/test-auditor.sh | 1 +
src/auditordb/test-auditor-db-postgres.conf | 3 ++-
src/exchange/test-taler-exchange-aggregator-postgres.conf | 14 ++++++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 7697b4fa..f84c7938 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -944,6 +944,7 @@ then
exit_fail "Reported table wrong: $TABLE"
fi
DIAG=`jq -r .row_minor_inconsistencies[0].diagnostic < test-wire-audit.json`
+DIAG=`echo "$DIAG" | awk '{print $1 " " $2 " " $3}'`
if test "x$DIAG" != "xexecution date missmatch"
then
exit_fail "Reported diagnostic wrong: $DIAG"
diff --git a/src/auditordb/test-auditor-db-postgres.conf
b/src/auditordb/test-auditor-db-postgres.conf
index e06d511c..b08195eb 100644
--- a/src/auditordb/test-auditor-db-postgres.conf
+++ b/src/auditordb/test-auditor-db-postgres.conf
@@ -7,4 +7,5 @@ DB = postgres
CONFIG = "postgres:///talercheck"
[taler]
-CURRENCY = "EUR"
\ No newline at end of file
+CURRENCY = "EUR"
+
diff --git a/src/exchange/test-taler-exchange-aggregator-postgres.conf
b/src/exchange/test-taler-exchange-aggregator-postgres.conf
index c2c8aef1..b6c18fd5 100644
--- a/src/exchange/test-taler-exchange-aggregator-postgres.conf
+++ b/src/exchange/test-taler-exchange-aggregator-postgres.conf
@@ -35,6 +35,20 @@ IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
CONFIG = postgres:///talercheck
+[exchangedb]
+
+# After how long do we close idle reserves? The exchange
+# and the auditor must agree on this value. We currently
+# expect it to be globally defined for the whole system,
+# as there is no way for wallets to query this value. Thus,
+# it is only configurable for testing, and should be treated
+# as constant in production.
+IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
+
+# After how long do we forget about reserves? Should be above
+# the legal expiration timeframe of withdrawn coins.
+LEGAL_RESERVE_EXPIRATION_TIME = 7 years
+
[account-1]
# What is the account URL?
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [taler-exchange] branch master updated: fix tests,
gnunet <=