Print the JSON in avro_alter
The test now prints the output in avro_alter. The replicate_from_master function also stops maxscale before removing the files.
This commit is contained in:
parent
ef73f3e217
commit
22d47aab52
@ -55,6 +55,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
json_error_t err;
|
||||
json_t* json = json_loads(line.c_str(), 0, &err);
|
||||
test.tprintf("%s", line.c_str());
|
||||
test.add_result(json == NULL, "Failed to parse JSON: %s", line.c_str());
|
||||
json_decref(json);
|
||||
nrows++;
|
||||
|
@ -967,8 +967,9 @@ bool TestConnections::replicate_from_master()
|
||||
mysql_close(conn);
|
||||
|
||||
/** Clean up MaxScale directories */
|
||||
ssh_maxscale(true, "service maxscale stop");
|
||||
prepare_binlog();
|
||||
ssh_maxscale(true, "service maxscale restart");
|
||||
ssh_maxscale(true, "service maxscale start");
|
||||
|
||||
char log_file[256] = "";
|
||||
char log_pos[256] = "4";
|
||||
|
Loading…
x
Reference in New Issue
Block a user