summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-01 19:44:00 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-01 19:44:00 +0200
commit88f9e693f685993af9d5c4309a6f1d93716754c0 (patch)
tree02f80a8fe7e83bcf196f93a2d043ef8f5375c1b2
parent8e391e8bfb0cd37181de8d1a921855ec798eaaad (diff)
downloadexchange-88f9e693f685993af9d5c4309a6f1d93716754c0.tar.gz
exchange-88f9e693f685993af9d5c4309a6f1d93716754c0.tar.bz2
exchange-88f9e693f685993af9d5c4309a6f1d93716754c0.zip
benchmar: wait for exchange worker to terminate
-rw-r--r--src/benchmark/taler-exchange-benchmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index feaa203a..3f3854a5 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -760,6 +760,8 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
{
GNUNET_assert (NULL != exchange_slave);
GNUNET_OS_process_kill (exchange_slave, SIGTERM);
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_OS_process_wait (exchange_slave));
GNUNET_OS_process_destroy (exchange_slave);
}