use timeout option in benchmark
This commit is contained in:
parent
b2f602b1ac
commit
1314b5fe20
@ -428,8 +428,9 @@ run (void *cls,
|
|||||||
unit);
|
unit);
|
||||||
}
|
}
|
||||||
all_commands[1 + howmany_coins] = TALER_TESTING_cmd_end ();
|
all_commands[1 + howmany_coins] = TALER_TESTING_cmd_end ();
|
||||||
TALER_TESTING_run (is,
|
TALER_TESTING_run2 (is,
|
||||||
all_commands);
|
all_commands,
|
||||||
|
GNUNET_TIME_UNIT_FOREVER_REL); /* no timeout */
|
||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -586,6 +587,9 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
|
|||||||
NULL,
|
NULL,
|
||||||
cfg_filename,
|
cfg_filename,
|
||||||
exchanged);
|
exchanged);
|
||||||
|
if (GNUNET_OK != result)
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
"Failure in child process test suite!\n");
|
||||||
if (GNUNET_OK == result)
|
if (GNUNET_OK == result)
|
||||||
exit (0);
|
exit (0);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user