commit 237fedb2414926ce5a8e55b92107b6486036553b
parent f0caeb608b657700c46219aa9aa23959a4b303ae
Author: Florian Dold <florian@dold.me>
Date: Fri, 23 Jul 2021 17:53:51 +0200
add sleep in tipping test case
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
@@ -972,7 +972,10 @@ run (void *cls,
payer_payto,
"create-reserve-tip-1",
MHD_HTTP_OK),
+ /* We need to wait until the merchant re-tries fetching the
+ reserve from the exchange. */
cmd_exec_wirewatch ("wirewatch-3"),
+ TALER_TESTING_cmd_sleep ("tip-sleep", 3),
TALER_TESTING_cmd_tip_authorize ("authorize-tip-1",
merchant_url,
EXCHANGE_URL,