From 15489275ba72905a6f0d84238480569390475c00 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Mar 2020 17:56:23 +0100 Subject: make DB reset optional in API, use it in tests, but not in the benchmark --- src/include/taler_testing_lib.h | 2 ++ 1 file changed, 2 insertions(+) (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 62f0b95c7..b91057973 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -118,12 +118,14 @@ struct TALER_TESTING_DatabaseConnection * launch the exchange process itself. * * @param config_filename configuration file to use + * @param reset_db should we reset the database * @param[out] ec will be set to the exchange configuration data * @return #GNUNET_OK on success, #GNUNET_NO if test should be * skipped, #GNUNET_SYSERR on test failure */ int TALER_TESTING_prepare_exchange (const char *config_filename, + int reset_db, struct TALER_TESTING_ExchangeConfiguration *ec); -- cgit v1.2.3