Fix ALTER TABLE regression in avrorouter

The avrorouter failed to detect ALTER TABLE statements which caused a
regression. Extended the alter table tests to parse the JSON for more
strict validation of test results.
This commit is contained in:
Markus Mäkelä
2017-07-04 09:31:11 +03:00
parent 26bbac6ea5
commit 285086ba7c
3 changed files with 20 additions and 9 deletions

View File

@ -7,7 +7,6 @@
*/
#include <iostream>
#include "testconnections.h"
#include "maxadmin_operations.h"
#include "sql_t1.h"
@ -49,8 +48,6 @@ int main(int argc, char *argv[])
sleep(10);
test.set_timeout(120);
char * avro_check = test.ssh_maxscale_output(true,
"maxavrocheck -vv /var/lib/maxscale/avro/test.t1.000001.avro | grep \"{\"");
char * output = test.ssh_maxscale_output(true, "maxavrocheck -d /var/lib/maxscale/avro/test.t1.000001.avro");
std::istringstream iss;