diff --git a/maxscale-system-test/sr_basics.cpp b/maxscale-system-test/sr_basics.cpp index 380a1ee39..a254c36bb 100644 --- a/maxscale-system-test/sr_basics.cpp +++ b/maxscale-system-test/sr_basics.cpp @@ -92,6 +92,8 @@ void test_stress(TestConnections& test) Connection c = test.maxscales->rwsplit(); c.connect(); + test.repl->sync_slaves(); + Result rows = c.rows("SELECT * FROM sq"); test.expect(rows.size() == N_THREADS * N_INSERTS, "Expected %lu inserts in total, but found %lu.", N_THREADS * N_INSERTS, rows.size());