fix tests

This commit is contained in:
Christian Grothoff 2019-09-05 10:59:03 +02:00
parent 8e9ce98661
commit 997b40e705
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 17 additions and 1 deletions

View File

@ -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"

View File

@ -7,4 +7,5 @@ DB = postgres
CONFIG = "postgres:///talercheck"
[taler]
CURRENCY = "EUR"
CURRENCY = "EUR"

View File

@ -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?