summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-10 22:31:46 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-10 22:31:46 +0200
commit1314b5fe20d99a2bc384f6a45042060d3940d635 (patch)
tree9830c49f108cdf78af724391d9082154929f0f2e /src/benchmark
parentb2f602b1ac8f046164bac92cb77fcabf2c4825a1 (diff)
downloadexchange-1314b5fe20d99a2bc384f6a45042060d3940d635.tar.gz
exchange-1314b5fe20d99a2bc384f6a45042060d3940d635.tar.bz2
exchange-1314b5fe20d99a2bc384f6a45042060d3940d635.zip
use timeout option in benchmark
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 3a59bc6c9..dc6fffab0 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -428,8 +428,9 @@ run (void *cls,
unit);
}
all_commands[1 + howmany_coins] = TALER_TESTING_cmd_end ();
- TALER_TESTING_run (is,
- all_commands);
+ TALER_TESTING_run2 (is,
+ all_commands,
+ GNUNET_TIME_UNIT_FOREVER_REL); /* no timeout */
result = 1;
}
@@ -586,6 +587,9 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
NULL,
cfg_filename,
exchanged);
+ if (GNUNET_OK != result)
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Failure in child process test suite!\n");
if (GNUNET_OK == result)
exit (0);
else