runner: insert little delay after starting helpers

This commit is contained in:
Ryan Dahl 2011-05-27 01:47:30 -07:00
parent f0ebf0c7fc
commit 7e34b7bdfc

View File

@ -76,6 +76,9 @@ int run_task(task_entry_t *test, int timeout, int benchmark_output) {
}
}
/* Wait a little bit to allow servers to start. Racy. */
usleep(50);
/* Start the main test process. */
if (process_start(test->process_name, &processes[process_count]) == -1) {
snprintf((char*)&errmsg, sizeof(errmsg), "process `%s` failed to start.",