Reduce excessive sleeping in tests

Some of the tests waited for excessively long periods of time for changes
to propagate. With a one second monitor interval, a sleep of around five
seconds should be plenty enough for all monitor related changes to be
propagated to all systems.
This commit is contained in:
Markus Mäkelä
2017-12-20 10:44:14 +02:00
parent 9962191722
commit b54dca50b5
5 changed files with 17 additions and 86 deletions

View File

@ -212,8 +212,8 @@ int main(int argc, char *argv[])
}
Test->stop_timeout();
Test->tprintf("Sleeping 15 seconds\n");
sleep(15);
Test->tprintf("Sleeping");
sleep(5);
for (i = 0; i < Test->repl->N; i++)
{