Fix 2.1 tests
Changed object names to pre-2.2 format. Added a workaround for the unicode NULL character problem in cdc_datatypes.
This commit is contained in:
@ -38,7 +38,9 @@ public:
|
||||
|
||||
bool operator ==(const TestOutput& output) const
|
||||
{
|
||||
return m_value == output.getValue();
|
||||
return m_value == output.getValue() ||
|
||||
(m_type.find("BLOB") != std::string::npos &&
|
||||
output.getValue().length() == 0);
|
||||
}
|
||||
|
||||
bool operator !=(const TestOutput& output) const
|
||||
|
@ -36,7 +36,7 @@ int main(int argc, char *argv[])
|
||||
sprintf(str, "rules%d", i);
|
||||
Test->set_timeout(180);
|
||||
copy_rules(Test, str, rules_dir);
|
||||
Test->ssh_maxscale(true, "maxadmin call command dbfwfilter rules/reload Database-Firewall");
|
||||
Test->ssh_maxscale(true, "maxadmin call command dbfwfilter rules/reload \"Database Firewall\"");
|
||||
|
||||
int local_result = 0;
|
||||
sprintf(pass_file, "%s/fw/pass%d", test_dir, i);
|
||||
|
@ -42,7 +42,7 @@ void check_status(TestConnections *Test, const char *server, const char *status)
|
||||
void check_group(TestConnections *Test, const char *server, const char *group)
|
||||
{
|
||||
|
||||
char *output = Test->ssh_maxscale_output(true, "maxadmin show monitor MySQL-Monitor");
|
||||
char *output = Test->ssh_maxscale_output(true, "maxadmin show monitor \"MySQL Monitor\"");
|
||||
|
||||
if (output == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user