diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-09 10:33:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-09 10:33:21 +0200 |
commit | f17ad4de768e297879a6ace43f7be723ddff6b6f (patch) | |
tree | 906297edbe737f96028187d444f4d261257a4f91 /src/include | |
parent | 4693708b8c53471f7bc5e956dff8158615c46deb (diff) |
in parallel tests, only launch one exchange -- still broken: code attempts to launch multiple fakebanks
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 694db70fe..708d73405 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -114,6 +114,18 @@ TALER_TESTING_prepare_exchange (const char *config_filename, /** + * Wait for the exchange to have started. Waits for at + * most 10s, after that returns 77 to indicate an error. + * + * @param base_url what URL should we expect the exchange + * to be running at + * @return 0 on success + */ +int +TALER_TESTING_wait_exchange_ready (const char *base_url); + + +/** * Remove files from previous runs */ void @@ -1241,7 +1253,7 @@ TALER_TESTING_get_trait_process /** * Offer location where a command stores a pointer to a process. - * + * * @param index offered location index number, in case there are * multiple on offer. * @param processp process location to offer. @@ -1501,7 +1513,7 @@ TALER_TESTING_get_trait_contract_terms * * @param index contract terms index number. * @param contract_terms contract terms to offer. - * + * * @return the trait. */ struct TALER_TESTING_Trait |