From 73405c8ff95dd42b280f951014f63b4ecee174b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 9 Sep 2018 09:34:04 +0300 Subject: [PATCH] Stabilize bug676 The test should now be stabler as it waits for a monitor interval instead of a set amount of seconds. --- maxscale-system-test/bug676.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/bug676.cpp b/maxscale-system-test/bug676.cpp index 088e9a5bd..b31715a82 100644 --- a/maxscale-system-test/bug676.cpp +++ b/maxscale-system-test/bug676.cpp @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) test.stop_timeout(); test.tprintf("Waiting until the monitor picks a new master"); - sleep(5); + test.maxscales->wait_for_monitor(); test.set_timeout(30);