summaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-29 18:12:30 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-29 18:12:30 +0100
commit10a3b45df075ec974f787783db9afeff09a54c88 (patch)
tree8cb6cf0acf274a3c594980b5331242b537f5c99f /src/testing/test_merchant_api.c
parent38b8097d94f794287c0dea3fbbe1f80cac46a69f (diff)
downloadmerchant-10a3b45df075ec974f787783db9afeff09a54c88.tar.gz
merchant-10a3b45df075ec974f787783db9afeff09a54c88.tar.bz2
merchant-10a3b45df075ec974f787783db9afeff09a54c88.zip
retry if reserve is so far unknown (404) to merchant, instead of using short timeout that may be too short on some systems
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r--src/testing/test_merchant_api.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 93ebab34..57241524 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -855,10 +855,6 @@ run (void *cls,
payer_payto,
"create-reserve-tip-1"),
cmd_exec_wirewatch ("wirewatch-3"),
- /* Sleep so the merchant discovers that the reserve exists at the exchange
- before trying to authorize a tip. */
- TALER_TESTING_cmd_sleep ("wait-reserve-1",
- 1),
TALER_TESTING_cmd_tip_authorize ("authorize-tip-1",
merchant_url,
EXCHANGE_URL,
@@ -981,8 +977,6 @@ run (void *cls,
payer_payto,
"create-reserve-tip-2"),
cmd_exec_wirewatch ("wirewatch-4"),
- TALER_TESTING_cmd_sleep ("wait-reserve-2",
- 1),
TALER_TESTING_cmd_tip_authorize_from_reserve_with_ec (
"authorize-tip-insufficient-funds",
merchant_url,
@@ -1000,14 +994,12 @@ run (void *cls,
"fake-tip-authorization",
pickup_amounts_1,
TALER_EC_MERCHANT_GENERIC_TIP_ID_UNKNOWN),
-
TALER_TESTING_cmd_merchant_get_reserves ("get-reserves-2",
merchant_url,
MHD_HTTP_OK,
"create-reserve-tip-1",
"create-reserve-tip-2",
NULL),
-
TALER_TESTING_cmd_merchant_delete_reserve ("delete-reserve-tip-1",
merchant_url,
"create-reserve-tip-1",