From 10a3b45df075ec974f787783db9afeff09a54c88 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 29 Jan 2021 18:12:30 +0100 Subject: retry if reserve is so far unknown (404) to merchant, instead of using short timeout that may be too short on some systems --- src/testing/test_merchant_api.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/testing/test_merchant_api.c') 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", -- cgit v1.2.3