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:
Markus Mäkelä
2017-07-06 13:31:38 +03:00
parent d0d19f3ded
commit af99ab3b72
2 changed files with 3 additions and 1 deletions

View File

@ -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++;