summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJilju Joy <jijoy@redhat.com>2019-05-13 23:29:14 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-10-07 12:16:24 +0000
commitf3c23a0612a171f0288b45e04cf6cd20fda1276e (patch)
tree32f33f7ab6b2d9546bd168968f31bc705aa6403c
parentbe3c7d86d1eac5f050619fba4998a22d896d9d47 (diff)
fuse-subdir: Revertig the change made in patch 22019HEADmaster
* The issue with disperse and distributed-disperse volume types are now fixed. * Reference : Bugzilla 1663375 * Using mount object instead of clients list for setting authentication Change-Id: I914cee7fb790dc65e947e0b6db40d02e23575e65 Signed-off-by: Jilju Joy <jijoy@redhat.com>
-rw-r--r--tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py b/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
index f38e9fe..2d565b4 100644
--- a/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
+++ b/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
@@ -29,7 +29,8 @@ from glustolibs.gluster.volume_libs import (
from glustolibs.gluster.heal_libs import monitor_heal_completion
-@runs_on([['replicated', 'distributed-replicated'],
+@runs_on([['replicated', 'distributed-replicated',
+ 'dispersed', 'distributed-dispersed'],
['glusterfs']])
class SubdirWithReplaceBrick(GlusterBaseClass):
"""
@@ -102,8 +103,8 @@ class SubdirWithReplaceBrick(GlusterBaseClass):
g.log.info('Setting authentication on subdir25 and subdir15'
'for client %s and %s', self.clients[0], self.clients[1])
ret = set_auth_allow(self.volname, self.mnode,
- {'/subdir25': [self.clients[0]],
- '/subdir15': [self.clients[1]]})
+ {'/subdir25': [self.mounts[0].client_system],
+ '/subdir15': [self.mounts[1].client_system]})
self.assertTrue(ret,
'Failed to set Authentication on volume %s'
% self.volume)