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

@ -633,5 +633,9 @@ int main(int argc, char* argv[])
run(test);
test.repl->connect();
execute_query(test.repl->nodes[0], "DROP TABLE test.t");
test.repl->disconnect();
return test.global_result;
}