diff options
| author | Christian Grothoff <christian@grothoff.org> | 2018-08-10 12:40:37 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2018-08-10 18:48:44 +0200 | 
| commit | e17121fd1c8a08aeedafd0be365ba06e0820c691 (patch) | |
| tree | 8f0154c38b79047b58d59e0f3975e1f135529a7c /src/benchmark/taler-exchange-benchmark.c | |
| parent | db65bc69bfc5800f579f9bfa42336a88ef12a7cd (diff) | |
use retry in benchmark
Diffstat (limited to 'src/benchmark/taler-exchange-benchmark.c')
| -rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 14 | 
1 files changed, 8 insertions, 6 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 7e6fd204..ac40ea74 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -372,12 +372,14 @@ run (void *cls,      GNUNET_asprintf (&order_enc,                       "{\"nonce\": %u}",                       i); -    unit[0] = TALER_TESTING_cmd_withdraw_amount -      (withdraw_label, -       is->exchange, -       "create-reserve", -       AMOUNT_5, -       MHD_HTTP_OK); +    unit[0] = +      TALER_TESTING_cmd_withdraw_with_retry +      (TALER_TESTING_cmd_withdraw_amount +       (withdraw_label, +	is->exchange, +	"create-reserve", +	AMOUNT_5, +	MHD_HTTP_OK));      unit[1] = TALER_TESTING_cmd_deposit        ("deposit",         is->exchange,  | 
