Verify that connections fail in bug547
The test assumed that the connections failed but it did not check that it actually did.
This commit is contained in:
@ -39,7 +39,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
Test->set_timeout(30);
|
Test->set_timeout(30);
|
||||||
Test->tprintf("Connecting to all MaxScale services, expecting error\n");
|
Test->tprintf("Connecting to all MaxScale services, expecting error\n");
|
||||||
Test->maxscales->connect_maxscale(0);
|
Test->add_result(Test->maxscales->connect_maxscale(0) == 0, "Connection should fail");
|
||||||
|
|
||||||
Test->set_timeout(30);
|
Test->set_timeout(30);
|
||||||
Test->tprintf("Trying some queries, expecting failure, but not a crash\n");
|
Test->tprintf("Trying some queries, expecting failure, but not a crash\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user