Ignore cleanup failures in sharding_load_data
The dropping of the database should be done directly on all nodes, the same way it was created.
This commit is contained in:
@ -39,13 +39,10 @@ int main(int argc, char** argv)
|
|||||||
long total = execute_query_count_rows(test.maxscales->conn_rwsplit[0], "SELECT * FROM db1.t1");
|
long total = execute_query_count_rows(test.maxscales->conn_rwsplit[0], "SELECT * FROM db1.t1");
|
||||||
test.add_result(total != 100, "Expected 100 rows, got %ld", total);
|
test.add_result(total != 100, "Expected 100 rows, got %ld", total);
|
||||||
|
|
||||||
test.tprintf("Dropping tables and databases");
|
|
||||||
|
|
||||||
test.try_query(test.maxscales->conn_rwsplit[0], "DROP TABLE db1.t1");
|
|
||||||
test.try_query(test.maxscales->conn_rwsplit[0], "DROP DATABASE db1");
|
|
||||||
|
|
||||||
test.maxscales->close_maxscale_connections(0);
|
test.maxscales->close_maxscale_connections(0);
|
||||||
|
|
||||||
|
test.repl->execute_query_all_nodes("DROP DATABASE db1");
|
||||||
|
|
||||||
// Remove the test data
|
// Remove the test data
|
||||||
unlink("data.csv");
|
unlink("data.csv");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user