Stabilize bug676

The test should now be stabler as it waits for a monitor interval instead
of a set amount of seconds.
This commit is contained in:
Markus Mäkelä
2018-09-09 09:34:04 +03:00
parent 6279ab350c
commit 73405c8ff9

View File

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