summaryrefslogtreecommitdiff
path: root/src/testing/test_taler_exchange_aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-16 19:58:42 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-16 19:58:42 +0100
commitcd6a3b8de745b2e0b04cd962dcc48a50d254b07c (patch)
tree348621240ae13c02b64bd193e88d4632cc4899c0 /src/testing/test_taler_exchange_aggregator.c
parent9745e82c59a4b6f96b4611cde82ac90f1f6c30ba (diff)
downloadexchange-cd6a3b8de745b2e0b04cd962dcc48a50d254b07c.tar.gz
exchange-cd6a3b8de745b2e0b04cd962dcc48a50d254b07c.tar.bz2
exchange-cd6a3b8de745b2e0b04cd962dcc48a50d254b07c.zip
fix config for aggregator test
Diffstat (limited to 'src/testing/test_taler_exchange_aggregator.c')
-rw-r--r--src/testing/test_taler_exchange_aggregator.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/testing/test_taler_exchange_aggregator.c b/src/testing/test_taler_exchange_aggregator.c
index 6d057c37..2b3d642e 100644
--- a/src/testing/test_taler_exchange_aggregator.c
+++ b/src/testing/test_taler_exchange_aggregator.c
@@ -475,8 +475,6 @@ run (void *cls,
TALER_TESTING_cmd_end ()
};
- GNUNET_SCHEDULER_add_shutdown (&unload_db,
- NULL);
TALER_TESTING_run_with_fakebank (is,
all,
bc.exchange_auth.wire_gateway_url);
@@ -501,19 +499,10 @@ prepare_database (void *cls,
TALER_TESTING_interpreter_fail (is);
return;
}
- if (GNUNET_OK !=
- dbc.plugin->create_tables (dbc.plugin->cls))
- {
- GNUNET_break (0);
- TALER_EXCHANGEDB_plugin_unload (dbc.plugin);
- dbc.plugin = NULL;
- result = 77;
- TALER_TESTING_interpreter_fail (is);
- return;
- }
dbc.session = dbc.plugin->get_session (dbc.plugin->cls);
GNUNET_assert (NULL != dbc.session);
-
+ GNUNET_SCHEDULER_add_shutdown (&unload_db,
+ NULL);
run (NULL,
is);
}