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

@ -26,7 +26,7 @@ int main(int argc, char *argv[])
test.stop_timeout();
test.tprintf("Waiting until the monitor picks a new master");
sleep(20);
sleep(5);
test.set_timeout(30);