diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2018-12-05 20:22:38 +0530 |
---|---|---|
committer | Valerii Ponomarov <vponomar@redhat.com> | 2018-12-07 10:26:04 +0000 |
commit | 65487518fd4fc78da9e0061ec0a8b9b9d6bfa071 (patch) | |
tree | a8d68942193409a496adc37c4ef9446c84773389 /tests | |
parent | 812e853791f3704a1136511227af80e767e80c89 (diff) |
Add cmd-runner function which is gluster deployment type agnostic
For the moment, most of the test cases and lib functions in
'openshift_ops' python module support only containerized
Gluster clusters. So, to be able to support standalone Gluster clusters
in addition to the containerized ones, add special function
which allows us to run shell commands on both types of Gluster clusters
autodetecting the type.
As an example, update one of the existing lib functions making
all the existing 'arbiter' test cases work in both cases.
Change-Id: Iad69d7dc692c87eb70ed5caf780cb688f274bf02
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/common/arbiter/test_arbiter.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/functional/common/arbiter/test_arbiter.py b/tests/functional/common/arbiter/test_arbiter.py index 2d67db16..2aab199b 100644 --- a/tests/functional/common/arbiter/test_arbiter.py +++ b/tests/functional/common/arbiter/test_arbiter.py @@ -20,9 +20,6 @@ class TestArbiterVolumeCreateExpandDelete(cns_baseclass.CnsBaseClass): def setUp(self): super(TestArbiterVolumeCreateExpandDelete, self).setUp() - # Skip test if it is not CNS deployment - if self.deployment_type != "cns": - raise self.skipTest("This test can run only on CNS deployment.") self.node = self.ocp_master_node[0] self.sc = self.cns_storage_class.get( 'storage_class1', self.cns_storage_class.get('file_storage_class')) |