From f17ad4de768e297879a6ace43f7be723ddff6b6f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Aug 2018 10:33:21 +0200 Subject: in parallel tests, only launch one exchange -- still broken: code attempts to launch multiple fakebanks --- src/include/taler_testing_lib.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (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 694db70fe..708d73405 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -113,6 +113,18 @@ TALER_TESTING_prepare_exchange (const char *config_filename, char **base_url); +/** + * 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 */ @@ -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 -- cgit v1.2.3