From 95dc2f59370d2d6ac48e4c906729831873afc94f Mon Sep 17 00:00:00 2001 From: Petr Malik Date: Fri, 12 Feb 2016 15:31:59 -0500 Subject: [PATCH] Disable unsupported root-disable tests Disable root-disable tests on datastores that do not support this functionality. Change-Id: I39534e15a9bd1b9e5faf4807f6ae8dc1fdca6aa0 --- .../scenario/runners/root_actions_runners.py | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/trove/tests/scenario/runners/root_actions_runners.py b/trove/tests/scenario/runners/root_actions_runners.py index 70df6eb535..ba09edbddc 100644 --- a/trove/tests/scenario/runners/root_actions_runners.py +++ b/trove/tests/scenario/runners/root_actions_runners.py @@ -120,6 +120,42 @@ class MysqlRootActionsRunner(RootActionsRunner): raise SkipTest("Operation is currently not supported.") +class PerconaRootActionsRunner(RootActionsRunner): + + def run_disable_root_before_enabled(self): + raise SkipTest("Operation is currently not supported.") + + def run_enable_root_with_password(self): + raise SkipTest("Operation is currently not supported.") + + def run_disable_root(self): + raise SkipTest("Operation is currently not supported.") + + +class MariadbRootActionsRunner(RootActionsRunner): + + def run_disable_root_before_enabled(self): + raise SkipTest("Operation is currently not supported.") + + def run_enable_root_with_password(self): + raise SkipTest("Operation is currently not supported.") + + def run_disable_root(self): + raise SkipTest("Operation is currently not supported.") + + +class PostgresqlRootActionsRunner(RootActionsRunner): + + def run_disable_root_before_enabled(self): + raise SkipTest("Operation is currently not supported.") + + def run_enable_root_with_password(self): + raise SkipTest("Operation is currently not supported.") + + def run_disable_root(self): + raise SkipTest("Operation is currently not supported.") + + class CouchbaseRootActionsRunner(RootActionsRunner): def run_disable_root_before_enabled(self):