-run fetch-transactions in auditor test to avoid non-deterministic failure
This commit is contained in:
parent
4e7d4aa4b2
commit
abb692f02d
@ -301,9 +301,9 @@ function run_audit () {
|
|||||||
echo -n "Running taler-exchange-offline drain "
|
echo -n "Running taler-exchange-offline drain "
|
||||||
|
|
||||||
taler-exchange-offline -L DEBUG -c "${CONF}" \
|
taler-exchange-offline -L DEBUG -c "${CONF}" \
|
||||||
drain TESTKUDOS:0.1 exchange-account-1 payto://iban/SANDBOXX/DE360679?receiver-name=Exchange+Drain \
|
drain TESTKUDOS:0.1 exchange-account-1 payto://iban/SANDBOXX/DE360679?receiver-name=Exchange+Drain \
|
||||||
upload \
|
upload \
|
||||||
2> ${MY_TMP_DIR}/taler-exchange-offline-drain.log || exit_fail "offline draining failed"
|
2> ${MY_TMP_DIR}/taler-exchange-offline-drain.log || exit_fail "offline draining failed"
|
||||||
kill -TERM $EPID
|
kill -TERM $EPID
|
||||||
wait $EPID || true
|
wait $EPID || true
|
||||||
unset EPID
|
unset EPID
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user