From 29b4e71bf552cba3d93ed0de80a6fe1f6a6228a6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 18 Jul 2021 21:16:21 +0200 Subject: -fix misc interesting wirewatch in test mode with sharding issues --- src/testing/test_taler_exchange_wirewatch.c | 15 ++++++++------- src/testing/testing_api_cmd_exec_wirewatch.c | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'src/testing') diff --git a/src/testing/test_taler_exchange_wirewatch.c b/src/testing/test_taler_exchange_wirewatch.c index d4149d7b7..8477e628e 100644 --- a/src/testing/test_taler_exchange_wirewatch.c +++ b/src/testing/test_taler_exchange_wirewatch.c @@ -196,9 +196,10 @@ main (int argc, } TALER_TESTING_cleanup_files (config_filename); - if (GNUNET_OK != TALER_TESTING_prepare_exchange (config_filename, - GNUNET_YES, - &ec)) + if (GNUNET_OK != + TALER_TESTING_prepare_exchange (config_filename, + GNUNET_YES, + &ec)) { TALER_LOG_INFO ("Could not prepare the exchange\n"); return 77; @@ -210,10 +211,10 @@ main (int argc, &bc)) return 77; - return - (GNUNET_OK == TALER_TESTING_setup_with_exchange (&run, - NULL, - config_filename)) ? 0 : 1; + return (GNUNET_OK == + TALER_TESTING_setup_with_exchange (&run, + NULL, + config_filename)) ? 0 : 1; } diff --git a/src/testing/testing_api_cmd_exec_wirewatch.c b/src/testing/testing_api_cmd_exec_wirewatch.c index eb6e16342..2c50b4f4a 100644 --- a/src/testing/testing_api_cmd_exec_wirewatch.c +++ b/src/testing/testing_api_cmd_exec_wirewatch.c @@ -66,6 +66,8 @@ wirewatch_run (void *cls, "taler-exchange-wirewatch", "taler-exchange-wirewatch", "-c", ws->config_filename, + "-S", "1", + "-w", "0", "-t", /* exit when done */ NULL); if (NULL == ws->wirewatch_proc) -- cgit v1.2.3