From f476266637d6069a13cc84b5fdb8c0897ffdcdfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 30 Jan 2019 13:07:54 +0200 Subject: [PATCH] Increase number of monitor waits in mxs1507_trx_replay The test appears to have failed at least once when the monitor did not, for some reason, notice that a server was down. Also adjusted the queries to be more unique across the test cases. --- maxscale-system-test/mxs1507_trx_replay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maxscale-system-test/mxs1507_trx_replay.cpp b/maxscale-system-test/mxs1507_trx_replay.cpp index 8337b9b54..2b5982e6e 100644 --- a/maxscale-system-test/mxs1507_trx_replay.cpp +++ b/maxscale-system-test/mxs1507_trx_replay.cpp @@ -196,7 +196,7 @@ int main(int argc, char** argv) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'"), }, { - bind(err, "SELECT 7"), + bind(err, "SELECT 8"), bind(err, "COMMIT"), }, { @@ -252,9 +252,9 @@ int main(int argc, char** argv) // Block and unblock the master test.repl->block_node(0); - test.maxscales->wait_for_monitor(); + test.maxscales->wait_for_monitor(2); test.repl->unblock_node(0); - test.maxscales->wait_for_monitor(); + test.maxscales->wait_for_monitor(2); for (auto& f : a.post) {