summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-15 20:41:45 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-15 20:41:45 -0400
commit5658c4c52b01a39d9302d3407cd53e96f545237c (patch)
treef0d29a538245d85e5d302f37884772e30a12ee3d /src/include
parente1ad498bff48c3975b386680493d6f1445582cfa (diff)
downloadexchange-5658c4c52b01a39d9302d3407cd53e96f545237c.tar.gz
exchange-5658c4c52b01a39d9302d3407cd53e96f545237c.tar.bz2
exchange-5658c4c52b01a39d9302d3407cd53e96f545237c.zip
test retry transfer with same request_id
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 332b429f9..b9a11865a 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -973,6 +973,17 @@ TALER_TESTING_cmd_transfer (const char *label,
/**
+ * 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.
*
* @param label command label.