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:
Markus Mäkelä
2018-01-09 10:27:33 +02:00
parent 79b84934b9
commit d1944d015d

View File

@ -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");