aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-06-08 20:29:46 +0200
committerMS <ms@taler.net>2020-06-08 20:29:46 +0200
commit599cba31056888be47e004ac779078ca2e092ec0 (patch)
treefbe35c9ca086cb1afe2f29aa4349aaeffbdeb38a /src/testing
parenta3b193ff8d6236e6e1c16916b4f817c1f60c4c0e (diff)
nexus-exchange test.
give time to payments to settle, before requesting /history/incoming and /history/outgoing.
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_bank_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index ffce3503f..3a3fd353b 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -87,6 +87,8 @@ run (void *cls,
"KUDOS:5.01",
&bc.exchange_auth,
bc.user42_payto),
+ TALER_TESTING_cmd_sleep ("Waiting 4s for 'credit-1' to settle",
+ 4),
TALER_TESTING_cmd_bank_credits ("history-1c",
&bc.exchange_auth,
NULL,
@@ -106,6 +108,9 @@ run (void *cls,
bc.user42_payto,
&wtid,
"http://exchange.example.com/"),
+
+ TALER_TESTING_cmd_sleep ("Waiting 5s for 'debit-1' to settle",
+ 5),
TALER_TESTING_cmd_bank_debits ("history-2b",
&bc.exchange_auth,
NULL,