aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-27 11:36:09 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-27 11:36:09 +0200
commit889bd801bcd549cfb7772ccf77f22ac9b8312589 (patch)
treeb2919bb6c1ebfac1eeec17c72c0b9a9ca09323de /src/auditor
parent26c0dc7841acbb4cad696a42d2ba97e187bd763b (diff)
-vanilla DB has no deposits, hence no lagv0.8.5
Diffstat (limited to 'src/auditor')
-rwxr-xr-xsrc/auditor/test-revocation.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh
index 3b3f60881..766825723 100755
--- a/src/auditor/test-revocation.sh
+++ b/src/auditor/test-revocation.sh
@@ -306,28 +306,6 @@ jq -e .wire_format_inconsistencies[0] < test-audit-wire.json > /dev/null && exit
echo PASS
-echo -n "Check for lag detection... "
-
-# 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-helper-auditor-wire.c)
-if [ $DATABASE_AGE -gt 3600 ]
-then
- jq -e .lag_details[0] < test-audit-wire.json > /dev/null || exit_fail "Lag not detected in run without aggregator at age $DATABASE_AGE"
-
- LAG=`jq -r .total_amount_lag < test-audit-wire.json`
- if test $LAG = "TESTKUDOS:0"
- then
- exit_fail "Expected total lag to be non-zero"
- fi
- echo "PASS"
-else
- echo "SKIP (database too new)"
-fi
-
-
echo -n "Test for wire amounts... "
WIRED=`jq -r .total_wire_in_delta_plus < test-audit-wire.json`
if test $WIRED != "TESTKUDOS:0"