From a166ca7fece8bbe3c66dcf0217cc81d20d185ab0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 12 Mar 2018 11:33:10 +0100 Subject: fix #5281 for exchange: do preflight check that an old transaction is no longer running by accident --- src/exchange/test_taler_exchange_aggregator.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/exchange/test_taler_exchange_aggregator.c') diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c index 3265bf2a1..0335bcd44 100644 --- a/src/exchange/test_taler_exchange_aggregator.c +++ b/src/exchange/test_taler_exchange_aggregator.c @@ -447,7 +447,8 @@ do_deposit (struct Command *cmd) /* finally, actually perform the DB operation */ if ( (GNUNET_OK != plugin->start (plugin->cls, - session)) || + session, + "aggregator-test-1")) || (GNUNET_OK != plugin->insert_deposit (plugin->cls, session, @@ -1150,7 +1151,8 @@ run (void *cls) &issue.properties.denom_hash); if ( (GNUNET_OK != plugin->start (plugin->cls, - session)) || + session, + "aggregator-test-2")) || (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->insert_denomination_info (plugin->cls, session, -- cgit v1.2.3