Add a small delay to mxs1476
The test can fail if the Galera nodes aren't synced when the connection to MaxScale is made. Adding a small sleep should allow the Galera cluster to stabilize after the configuration switch.
This commit is contained in:
parent
0f015e6341
commit
339ea9aedb
@ -55,6 +55,9 @@ int main(int argc, char** argv)
|
||||
"sed -i 's/priority=3/priority=2/' /etc/maxscale.cnf;");
|
||||
test.maxscales->restart_maxscale(0);
|
||||
|
||||
// Give the Galera nodes some time to stabilize
|
||||
sleep(5);
|
||||
|
||||
do_test(test, 0, 1);
|
||||
|
||||
test.galera->start_node(2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user