From d22a62c0ffecd380d6999a751e7d4d56b26db3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 18 Jun 2018 21:34:18 +0300 Subject: [PATCH] Use sleeps and waits with mxs1719 Going the belt-and-suspenders way of both sleeping and waiting for the moitor should make sure MaxScale has at least some time to start up, query the servers and do a single iteration of monitoring. --- maxscale-system-test/mxs1719.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/maxscale-system-test/mxs1719.cpp b/maxscale-system-test/mxs1719.cpp index efb634ea3..660ba5520 100644 --- a/maxscale-system-test/mxs1719.cpp +++ b/maxscale-system-test/mxs1719.cpp @@ -75,6 +75,7 @@ int main(int argc, char* argv[]) { if (test.maxscales->start() == 0) { + sleep(10); test.maxscales->wait_for_monitor(); if (test.maxscales->connect_rwsplit() == 0)