summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-19 14:19:17 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-19 14:19:17 +0200
commitddca1f5c68e112928d715e1aee2758c40e14fb51 (patch)
tree3ef98e9d16c7c381f42179ba28571823012d7f4f /src/benchmark
parent7663baf2e25d47fd1b796b17b2b95ccb8436b483 (diff)
downloadexchange-ddca1f5c68e112928d715e1aee2758c40e14fb51.tar.gz
exchange-ddca1f5c68e112928d715e1aee2758c40e14fb51.tar.bz2
exchange-ddca1f5c68e112928d715e1aee2758c40e14fb51.zip
add logic to allow fakebank transfers to be retried
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index c7dbdb4d..4a664da5 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -70,13 +70,14 @@ enum BenchmarkError {
#define FIRST_INSTRUCTION -1
#define CMD_TRANSFER_TO_EXCHANGE(label, amount) \
- TALER_TESTING_cmd_fakebank_transfer (label, amount, \
+ TALER_TESTING_cmd_fakebank_transfer_retry \
+ (TALER_TESTING_cmd_fakebank_transfer (label, amount, \
exchange_bank_account.bank_base_url, \
USER_ACCOUNT_NUMBER, \
exchange_bank_account.no, \
"dummy_user", \
"dummy_password", \
- "http://example.com/")
+ "http://example.com/"))
/**
* Information about an account extracted from a payto://-URL.