Wait for monitor in mxs1719
Replaced hard-coded sleep with dynamic waiting.
This commit is contained in:
@ -75,8 +75,7 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
if (test.maxscales->start() == 0)
|
if (test.maxscales->start() == 0)
|
||||||
{
|
{
|
||||||
// Give the monitor a few seconds to monitor the servers
|
test.maxscales->wait_for_monitor();
|
||||||
sleep(5);
|
|
||||||
|
|
||||||
if (test.maxscales->connect_rwsplit() == 0)
|
if (test.maxscales->connect_rwsplit() == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user