summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-23 17:53:51 +0200
committerFlorian Dold <florian@dold.me>2021-07-23 17:53:51 +0200
commit237fedb2414926ce5a8e55b92107b6486036553b (patch)
tree41b65c2a0193d25d5d28e86382f3bc42ae8f69fd
parentf0caeb608b657700c46219aa9aa23959a4b303ae (diff)
downloadmerchant-237fedb2414926ce5a8e55b92107b6486036553b.tar.gz
merchant-237fedb2414926ce5a8e55b92107b6486036553b.tar.bz2
merchant-237fedb2414926ce5a8e55b92107b6486036553b.zip
add sleep in tipping test case
m---------contrib/merchant-backoffice0
-rw-r--r--src/testing/test_merchant_api.c3
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/merchant-backoffice b/contrib/merchant-backoffice
-Subproject fe987187e178816d42ed12178d430c8771cb5a7
+Subproject 4320467db1392e5f48a4acd079f7e2a253cf998
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 6695c844..1bdb81d6 100644
--- 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,