Drop created tables in tests

If a table is created in a test, it should also drop the table.
This commit is contained in:
Markus Mäkelä
2018-07-12 11:14:07 +03:00
parent 12b4f67f30
commit 4bf6233d2a
9 changed files with 37 additions and 0 deletions

View File

@ -80,6 +80,10 @@ int main(int argc, char *argv[])
Test->repl->close_connections();
Test->maxscales->close_maxscale_connections(0);
Test->repl->connect();
Test->try_query(Test->repl->nodes[0], "DROP TABLE long_blob_table");
Test->repl->disconnect();
int rval = Test->global_result;
delete Test;
return rval;