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:
Markus Mäkelä 2018-05-01 10:14:13 +03:00
parent 3030799ae1
commit 09b6668064
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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");
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.repl->execute_query_all_nodes("DROP DATABASE db1");
// Remove the test data
unlink("data.csv");