diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-19 14:19:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-19 14:19:17 +0200 |
commit | ddca1f5c68e112928d715e1aee2758c40e14fb51 (patch) | |
tree | 3ef98e9d16c7c381f42179ba28571823012d7f4f /src/include | |
parent | 7663baf2e25d47fd1b796b17b2b95ccb8436b483 (diff) |
add logic to allow fakebank transfers to be retried
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 0db27d0e6..83523dfc4 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -620,6 +620,7 @@ TALER_TESTING_cmd_fakebank_transfer_with_ref const char *ref, const char *exchange_url); + /** * Create "fakebank transfer" CMD, letting the caller specifying * the merchant instance. This version is useful when a tip @@ -664,6 +665,19 @@ TALER_TESTING_cmd_fakebank_transfer_with_instance const char *exchange_url, const char *config_filename); + +/** + * Modify a fakebank transfer command to enable retries when the + * reserve is not yet full or we get other transient errors from the + * fakebank. + * + * @param cmd a fakebank transfer command + * @return the command with retries enabled + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_fakebank_transfer_retry (struct TALER_TESTING_Command cmd); + + /** * Make a "wirewatch" CMD. * |