From 368f3a9a6684dea78381c98ac9d217e9fc85e3b2 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 19 Nov 2018 23:02:37 +0100 Subject: Minor changes to make tests pass/no-skip again. --- src/exchange-lib/exchange_api_handle.c | 2 +- src/exchange-lib/test_exchange_api_twisted.c | 9 ++++++++- src/exchange-lib/test_exchange_api_twisted.conf | 5 ++++- 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib') diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index d7fa65fad..b131ffcab 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -1481,7 +1481,7 @@ request_keys (void *cls) kr)); kr->job = GNUNET_CURL_job_add (exchange->ctx, eh, - GNUNET_NO, + GNUNET_YES, &keys_completed_cb, kr); exchange->kr = kr; diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c index e276fd1a8..9e52c9ea7 100644 --- a/src/exchange-lib/test_exchange_api_twisted.c +++ b/src/exchange-lib/test_exchange_api_twisted.c @@ -60,6 +60,11 @@ static char *fakebank_url; */ static char *exchange_url; +/** + * Auditor URL, unused but needed to achieve compilation. + */ +static char *auditor_url; + /** * Twister process. */ @@ -367,6 +372,7 @@ main (int argc, TALER_TESTING_cleanup_files (CONFIG_FILE); switch (TALER_TESTING_prepare_exchange (CONFIG_FILE, + &auditor_url, &exchange_url)) { case GNUNET_SYSERR: @@ -381,7 +387,8 @@ main (int argc, (CONFIG_FILE))) return 77; - ret = TALER_TESTING_setup_with_exchange (&run, NULL, + ret = TALER_TESTING_setup_with_exchange (&run, + NULL, CONFIG_FILE); purge_process (twisterd); GNUNET_free (twister_url); diff --git a/src/exchange-lib/test_exchange_api_twisted.conf b/src/exchange-lib/test_exchange_api_twisted.conf index 12a07a17e..ba59b5a60 100644 --- a/src/exchange-lib/test_exchange_api_twisted.conf +++ b/src/exchange-lib/test_exchange_api_twisted.conf @@ -67,8 +67,11 @@ BASE_URL = "http://localhost:8888/" [exchangedb-postgres] DB_CONN_STR = "postgres:///talercheck" +[auditor] +BASE_URL = "http://the.auditor/" + [auditordb-postgres] -DB_CONN_STR = "postgres:///talercheck" +CONFIG = "postgres:///talercheck" [account-2] URL = payto://x-taler-bank/localhost:8082/2 -- cgit v1.2.3