benchmar: wait for exchange worker to terminate

This commit is contained in:
Florian Dold 2019-05-01 19:44:00 +02:00
parent 8e391e8bfb
commit 88f9e693f6
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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);
}