Avoid using test.repl->N in MariaDBMonitor tests
The value may not match the nodes used by the test.
This commit is contained in:
@ -123,8 +123,7 @@ void run(TestConnections& test)
|
||||
{
|
||||
test.maxscales->wait_for_monitor();
|
||||
|
||||
int N = test.repl->N;
|
||||
cout << "Nodes: " << N << endl;
|
||||
const int N = 4;
|
||||
|
||||
expect(test, "server1", "Master", "Running");
|
||||
expect(test, "server2", "Slave", "Running");
|
||||
|
Reference in New Issue
Block a user