From 503cf7e693d363c4ed06f5171e3e7a70b5253a52 Mon Sep 17 00:00:00 2001 From: Niclas Antti Date: Tue, 20 Aug 2019 10:57:36 +0300 Subject: [PATCH] MXS-2572 Smartrouter test. Fix replication lag releated bug. --- maxscale-system-test/sr_basics.cpp | 2 ++ 1 file changed, 2 insertions(+) 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());