From 68867de6e3c4a385d823c33205d64dd5ebdaadc8 Mon Sep 17 00:00:00 2001 From: Satoshi Mitani Date: Thu, 12 May 2016 10:57:58 +0900 Subject: [PATCH] Fixed PXC configuration detach does not work PXC parser was not defined. This has been fixed. Configuration scenario tests now pass for pxc. Change-Id: Ieb8f4b5cdac3f142d24f37ef1fa8da387199fd4c Closes-Bug: 1570222 --- trove/common/template.py | 1 + trove/tests/scenario/helpers/mysql_helper.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/trove/common/template.py b/trove/common/template.py index a294190eaa..519805e829 100644 --- a/trove/common/template.py +++ b/trove/common/template.py @@ -34,6 +34,7 @@ SERVICE_PARSERS = { 'mysql': configurations.MySQLConfParser, 'percona': configurations.MySQLConfParser, 'mariadb': configurations.MySQLConfParser, + 'pxc': configurations.MySQLConfParser, 'postgresql': configurations.PostgresqlConfParser, 'cassandra': configurations.CassandraConfParser, 'redis': configurations.RedisConfParser, diff --git a/trove/tests/scenario/helpers/mysql_helper.py b/trove/tests/scenario/helpers/mysql_helper.py index a8fc46c718..032c2a8562 100644 --- a/trove/tests/scenario/helpers/mysql_helper.py +++ b/trove/tests/scenario/helpers/mysql_helper.py @@ -48,7 +48,7 @@ class MysqlHelper(SqlHelper): return {'innodb_buffer_pool_size': 10485760} def get_invalid_groups(self): - return [{'key_buffer_size': 4}, {"join_buffer_size": 'string_value'}] + return [{'key_buffer_size': -1}, {"join_buffer_size": 'string_value'}] def get_exposed_user_log_names(self): return ['general', 'slow_query']