diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-18 21:16:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-18 21:16:21 +0200 |
commit | 29b4e71bf552cba3d93ed0de80a6fe1f6a6228a6 (patch) | |
tree | e1cc6a5a3c7657e89b8b9dde18fde4937464a495 /src/testing | |
parent | 6d7eb372b2cb30c0549fa1b76177bb7f5f28776c (diff) | |
download | exchange-29b4e71bf552cba3d93ed0de80a6fe1f6a6228a6.tar.xz |
-fix misc interesting wirewatch in test mode with sharding issues
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_taler_exchange_wirewatch.c | 15 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_exec_wirewatch.c | 2 |
2 files changed, 10 insertions, 7 deletions
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) |