Speed up testing

Removed unnecessary sleeps from tests that appear to serve no
purpose. Moveed the kerberos code from the general startup routines to the
kerberos test.
This commit is contained in:
Markus Mäkelä
2017-09-19 14:04:39 +03:00
parent 20bfe16d11
commit 773bae1615
5 changed files with 7 additions and 12 deletions

View File

@ -138,6 +138,11 @@ int main(int argc, char *argv[])
"echo select User,Host from mysql.user | mysql -uusr1 -h maxscale.maxscale.test -P 4009", false),
"Error executing query against Read Connection Slave\n");
for (int i = 0; i < Test->repl->N; i++)
{
Test->repl->ssh_node(i, "sudo rm -f /etc/my.cnf.d/kerb.cnf", true);
}
int rval = Test->global_result;
delete Test;
return rval;