diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-23 00:00:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-23 00:00:32 +0200 |
commit | c559b1c935a93c4cdec442beeac59264d483c824 (patch) | |
tree | 625cf48e047e6534606b5b6b9cd0c15f4c3672dc /src/testing/test_taler_exchange_aggregator.c | |
parent | 37f049b3bc98c72f68687e67f102ee5b06f9263d (diff) | |
download | exchange-c559b1c935a93c4cdec442beeac59264d483c824.tar.xz |
complete implementation of long-polling for reserve status; remove support for multi-threaded exchange httpd
Diffstat (limited to 'src/testing/test_taler_exchange_aggregator.c')
-rw-r--r-- | src/testing/test_taler_exchange_aggregator.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/testing/test_taler_exchange_aggregator.c b/src/testing/test_taler_exchange_aggregator.c index 2b3d642ef..684fe9697 100644 --- a/src/testing/test_taler_exchange_aggregator.c +++ b/src/testing/test_taler_exchange_aggregator.c @@ -41,7 +41,7 @@ static struct TALER_TESTING_ExchangeConfiguration ec; static struct TALER_TESTING_BankConfiguration bc; /** - * Contains plugin and session. + * Contains plugin. */ static struct TALER_TESTING_DatabaseConnection dbc; @@ -499,8 +499,14 @@ prepare_database (void *cls, TALER_TESTING_interpreter_fail (is); return; } - dbc.session = dbc.plugin->get_session (dbc.plugin->cls); - GNUNET_assert (NULL != dbc.session); + if (GNUNET_OK != + dbc.plugin->preflight (dbc.plugin->cls)) + { + GNUNET_break (0); + result = 77; + TALER_TESTING_interpreter_fail (is); + return; + } GNUNET_SCHEDULER_add_shutdown (&unload_db, NULL); run (NULL, |