benchmar: wait for exchange worker to terminate
This commit is contained in:
parent
8e391e8bfb
commit
88f9e693f6
@ -760,6 +760,8 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
|
|||||||
{
|
{
|
||||||
GNUNET_assert (NULL != exchange_slave);
|
GNUNET_assert (NULL != exchange_slave);
|
||||||
GNUNET_OS_process_kill (exchange_slave, SIGTERM);
|
GNUNET_OS_process_kill (exchange_slave, SIGTERM);
|
||||||
|
GNUNET_break (GNUNET_OK ==
|
||||||
|
GNUNET_OS_process_wait (exchange_slave));
|
||||||
GNUNET_OS_process_destroy (exchange_slave);
|
GNUNET_OS_process_destroy (exchange_slave);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user