summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-17 22:18:19 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-17 22:18:19 +0100
commita563dd599df11975cacfd1764b2eea8bf4d9595a (patch)
tree4c8c628294a2a2c6d84bc32f4437be7b53c02150
parenta91a6ba1f690062a682f5d753bf80bd24a4407f8 (diff)
downloadanastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.tar.gz
anastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.tar.bz2
anastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.zip
-try to get tests to pass again
-rwxr-xr-xsrc/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh4
-rwxr-xr-xsrc/cli/test_iban.sh11
2 files changed, 9 insertions, 6 deletions
diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
index 4efbe6b..4cf0274 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -203,9 +203,9 @@ taler-bank-manage-testing $NEXUS_PORT $TALER_DB $EXCHANGE_URL $CONF > taler-bank
taler-exchange-secmod-eddsa -c $CONF 2> taler-exchange-secmod-eddsa.log &
taler-exchange-secmod-rsa -c $CONF 2> taler-exchange-secmod-rsa.log &
taler-exchange-secmod-cs -c $CONF 2> taler-exchange-secmod-cs.log &
-taler-exchange-httpd -c $CONF 2> taler-exchange-httpd.log &
+taler-exchange-httpd -L INFO -c $CONF 2> taler-exchange-httpd.log &
taler-merchant-httpd -c $CONF -L INFO 2> taler-merchant-httpd.log &
-taler-exchange-wirewatch -c $CONF 2> taler-exchange-wirewatch.log &
+taler-exchange-wirewatch --longpoll-timeout=1s -L INFO -c $CONF 2> taler-exchange-wirewatch.log &
taler-auditor-httpd -L INFO -c $CONF 2> taler-auditor-httpd.log &
echo " OK"
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index 135ab02..f4d9085 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -86,13 +86,16 @@ trap cleanup EXIT
# to pass through the Nexus+Ebics layer to issue the payment
# $1 = amount ($CURRENCY:X.Y), $2 = subject.
function wire_transfer_to_anastasis() {
+ echo -n "Initiating wire transfer ..."
libeufin-sandbox make-transaction \
--debit-account=sandbox-account-debit \
- --credit-account=sandbox-account-credit "$1" "$2"
- # Sync nexus with sandbox
+ --credit-account=sandbox-account-credit "$1" "$2" &> libeufin-transfer-initiate.out
+ echo " OK"
+ echo -n "Syncing nexus with sandbox ..."
export LIBEUFIN_NEXUS_USERNAME=$CREDIT_USERNAME
export LIBEUFIN_NEXUS_PASSWORD=$CREDIT_PASSWORD
- libeufin-cli accounts fetch-transactions nexus-bankaccount-credit > /dev/null
+ libeufin-cli accounts fetch-transactions nexus-bankaccount-credit &> libeufin-transfer-fetch.out
+ echo " OK"
}
# $1 = facade base URL. Merely a debug utility.
@@ -502,7 +505,7 @@ wire_transfer_to_anastasis "${AMOUNT}" "${SUBJECT}"
echo " OK"
echo -n "Triggering inbound check ..."
-anastasis-helper-authorization-iban -c $CONF -t
+anastasis-helper-authorization-iban -c $CONF -t -L INFO
echo " OK"
# Now we should get the secret...