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.
This commit is contained in:
parent
d9cc65cca7
commit
d22a62c0ff
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user