aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-10 20:49:59 +0000
committerng0 <ng0@n0.is>2019-04-10 20:51:36 +0000
commit71acaff203586a956c71f0e90317d5fff0a50e14 (patch)
treefa2abb2a5b48894783da859e74c1966772be3ddf /src/include/taler_testing_lib.h
parent2699155b81f8db564e27610896eb2af0c3e88c6d (diff)
parenta73e1dd4198bd7fe83e6e00ee01fe5a83bbaa41d (diff)
Merge branch 'master' of git.taler.net:exchange
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 31180c30..99be529b 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -1442,6 +1442,19 @@ TALER_TESTING_cmd_sleep (const char *label,
/**
+ * This CMD simply tries to connect via HTTP to the
+ * service addressed by @a url. It attemps 10 times
+ * before giving up and make the test fail.
+ *
+ * @param label label for the command.
+ * @param url complete URL to connect to.
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_wait_service (const char *label,
+ const char *url);
+
+
+/**
* Make a "check keys" command. This type of command
* checks whether the number of denomination keys from
* @a exchange matches @a num_denom_keys.