Fix test failures

Use larger BLOB type for mxs812_1, the inserted value exceeds the normal
BLOB size.

Add a baseline check into bulk_insert to verify that direct connections
work (at the moment they don't, needs an investigation).

Updated parameter names in failover_mysqlmon_mrm.

Modified avro_alter to prevent data type conversion errors.
This commit is contained in:
Markus Mäkelä
2017-12-04 16:07:50 +02:00
parent c03ce7ac7f
commit 9f11fdd2c1
4 changed files with 16 additions and 3 deletions

View File

@ -203,12 +203,17 @@ int main(int argc, char** argv)
TestConnections::require_repl_version("10.2");
TestConnections test(argc, argv);
test.connect_maxscale();
test.repl->connect();
test.tprintf("Testing column-wise binding with a direct connection");
test.add_result(bind_by_column(test.repl->nodes[0]), "Bulk inserts with a direct connection should work");
test.tprintf("Testing column-wise binding with readwritesplit");
test.add_result(bind_by_column(test.conn_rwsplit), "Bulk inserts with readwritesplit should work");
test.tprintf("Testing column-wise binding with readconnroute");
test.add_result(bind_by_column(test.conn_master), "Bulk inserts with readconnroute should work");
test.tprintf("Testing row-wise binding with a direct connection");
test.add_result(bind_by_row(test.repl->nodes[0]), "Bulk inserts with a direct connection should work");
test.tprintf("Testing row-wise binding with readwritesplit");
test.add_result(bind_by_row(test.conn_rwsplit), "Bulk inserts with readwritesplit should work");
test.tprintf("Testing row-wise binding with readconnroute");