Fix bug519

The test attempted to copy the generated CSV file from the MaxScale server
when in fact it was on the master server. Removed HEAVY label from the
test as it takes about 10 seconds to run.

Cherry-picked from commit f80cde2af149fda9c47d8f9131f82527b76af487.
This commit is contained in:
Markus Mäkelä
2017-08-17 23:47:46 +03:00
parent db51d94b76
commit 0daa167873
2 changed files with 2 additions and 7 deletions

View File

@ -106,12 +106,7 @@ int main(int argc, char *argv[])
Test->try_query(Test->conn_slave, (char *) "SELECT * INTO OUTFILE '/tmp/t3.csv' FROM t1;");
Test->tprintf("Copying t1.cvs from Maxscale machine:\n");
Test->copy_from_maxscale((char *) "/tmp/t1.csv", (char *) "./");
/*sprintf(str,
"scp -i %s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet %s@%s:/tmp/t1.csv ./",
Test->repl->sshkey[0], Test->repl->access_user[0], Test->repl->IP[0]);
Test->tprintf("%s\n", str);
system(str);*/
Test->repl->copy_from_node("/tmp/t1.csv", "./t1.csv", 0);
MYSQL *srv[2];