From 5658c4c52b01a39d9302d3407cd53e96f545237c Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Wed, 15 Jul 2020 20:41:45 -0400 Subject: test retry transfer with same request_id --- src/include/taler_testing_lib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 332b429f..b9a11865 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -972,6 +972,17 @@ TALER_TESTING_cmd_transfer (const char *label, const char *exchange_base_url); +/** + * Modify a transfer command to enable retries when the reserve is not yet + * full or we get other transient errors from the bank. + * + * @param cmd a fakebank transfer command + * @return the command with retries enabled + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_transfer_retry (struct TALER_TESTING_Command cmd); + + /** * Make the "exec-auditor" CMD. * -- cgit v1.2.3