Improve false_monitor_state_change
The test uses wait_for_monitor and no longer does the redundant debug assert check that is covered by the core dump detection.
This commit is contained in:
parent
d60e97dfa5
commit
bc8db6d52c
@ -12,17 +12,14 @@ int main(int argc, char* argv[])
|
||||
test.repl->block_node(0);
|
||||
|
||||
test.tprintf("Wait for monitor to see it");
|
||||
sleep(10);
|
||||
test.maxscales->wait_for_monitor();
|
||||
|
||||
test.tprintf("Clear master status");
|
||||
test.maxscales->ssh_node(0, "maxadmin clear server server1 master", true);
|
||||
sleep(5);
|
||||
test.maxscales->wait_for_monitor();
|
||||
|
||||
test.repl->unblock_node(0);
|
||||
sleep(5);
|
||||
|
||||
test.check_maxscale_alive(0);
|
||||
test.check_log_err(0, "debug assert", false);
|
||||
test.maxscales->wait_for_monitor();
|
||||
|
||||
return test.global_result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user