old DBs only
This commit is contained in:
parent
342cccc384
commit
fbc375092f
@ -1386,6 +1386,15 @@ full_reload
|
||||
function test_25() {
|
||||
|
||||
echo "=========25: inconsistent coin history========="
|
||||
|
||||
# Check wire transfer lag reported (no aggregator!)
|
||||
# NOTE: This test is EXPECTED to fail for ~1h after
|
||||
# re-generating the test database as we do not
|
||||
# report lag of less than 1h (see GRACE_PERIOD in
|
||||
# taler-wire-auditor.c)
|
||||
if [ $DATABASE_AGE -gt 3600 ]
|
||||
then
|
||||
|
||||
# Drop refund, so coin history is bogus.
|
||||
echo "DELETE FROM refunds WHERE refund_serial_id=1;" | psql -Aqt $DB
|
||||
|
||||
@ -1417,6 +1426,9 @@ echo PASS
|
||||
|
||||
# cannot easily undo DELETE, hence full reload
|
||||
full_reload
|
||||
else
|
||||
echo "Test skipped (database too new)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user