-run fetch-transactions in auditor test to avoid non-deterministic failure

This commit is contained in:
Christian Grothoff 2023-01-17 15:33:36 +01:00
parent 4e7d4aa4b2
commit abb692f02d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -325,11 +325,15 @@ function run_audit () {
echo -n "Payment likely already submitted, running submit-payments without UUID anyway ..." echo -n "Payment likely already submitted, running submit-payments without UUID anyway ..."
libeufin-cli accounts submit-payments exchange-nexus libeufin-cli accounts submit-payments exchange-nexus
else else
echo -n "Running submitting payment ${PAIN_UUID} ..." echo -n "Running payment submission for transaction ${PAIN_UUID} ..."
libeufin-cli accounts submit-payments --payment-uuid ${PAIN_UUID} exchange-nexus libeufin-cli accounts submit-payments --payment-uuid ${PAIN_UUID} exchange-nexus
fi fi
cd $ORIGIN
echo " DONE" echo " DONE"
echo -n "Import outgoing transactions..."
libeufin-cli accounts fetch-transactions \
--range-type since-last --level report exchange-nexus
echo " DONE"
cd $ORIGIN
fi fi
audit_only audit_only
post_audit post_audit