From 599cba31056888be47e004ac779078ca2e092ec0 Mon Sep 17 00:00:00 2001 From: MS Date: Mon, 8 Jun 2020 20:29:46 +0200 Subject: nexus-exchange test. give time to payments to settle, before requesting /history/incoming and /history/outgoing. --- src/testing/test_bank_api.c | 5 +++++ 1 file changed, 5 insertions(+) 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, -- cgit v1.2.3