summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glustolibs-gluster/glustolibs/gluster/gluster_base_class.py16
-rw-r--r--tests/gluster_tests_config.yml11
2 files changed, 26 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
index c84415f15..34a1fe581 100644
--- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
+++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
@@ -61,7 +61,8 @@ class runs_on(g.CarteTestClass):
# the options to replace 'ALL' in selections
self.available_options = [['distributed', 'replicated',
'distributed-replicated',
- 'dispersed', 'distributed-dispersed'],
+ 'dispersed', 'distributed-dispersed',
+ 'arbiter', 'distributed-arbiter'],
['glusterfs', 'nfs', 'cifs', 'smb']]
# these are the volume and mount options to run and set in config
@@ -573,6 +574,19 @@ class GlusterBaseClass(TestCase):
'disperse_count': 6,
'redundancy_count': 2,
'transport': 'tcp',
+ },
+ 'arbiter': {
+ 'type': 'arbiter',
+ 'replica_count': 3,
+ 'arbiter_count': 1,
+ 'transport': 'tcp',
+ },
+ 'distributed-arbiter': {
+ 'type': 'distributed-arbiter',
+ 'dist_count': 2,
+ 'replica_count': 3,
+ 'arbiter_count': 1,
+ 'tranport': 'tcp',
}
}
diff --git a/tests/gluster_tests_config.yml b/tests/gluster_tests_config.yml
index 9a3689407..459cc7d53 100644
--- a/tests/gluster_tests_config.yml
+++ b/tests/gluster_tests_config.yml
@@ -190,6 +190,17 @@ gluster:
disperse_count: 6
redundancy_count: 2
transport: tcp
+ arbiter: &arbiter
+ type: arbiter
+ replica_count: 3
+ arbiter_count: 1
+ transport: tcp
+ distributed-arbiter: &distrbuted_arbiter
+ type: distributed_arbiter
+ dist_count: 2
+ replica_count: 3
+ arbiter_count: 1
+ transport: tcp
volume_create_force: False