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.
This commit is contained in:
@ -196,7 +196,7 @@ int main(int argc, char** argv)
|
|||||||
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'"),
|
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
bind(err, "SELECT 7"),
|
bind(err, "SELECT 8"),
|
||||||
bind(err, "COMMIT"),
|
bind(err, "COMMIT"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -252,9 +252,9 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
// Block and unblock the master
|
// Block and unblock the master
|
||||||
test.repl->block_node(0);
|
test.repl->block_node(0);
|
||||||
test.maxscales->wait_for_monitor();
|
test.maxscales->wait_for_monitor(2);
|
||||||
test.repl->unblock_node(0);
|
test.repl->unblock_node(0);
|
||||||
test.maxscales->wait_for_monitor();
|
test.maxscales->wait_for_monitor(2);
|
||||||
|
|
||||||
for (auto& f : a.post)
|
for (auto& f : a.post)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user