From f3c23a0612a171f0288b45e04cf6cd20fda1276e Mon Sep 17 00:00:00 2001 From: Jilju Joy Date: Mon, 13 May 2019 23:29:14 +0530 Subject: fuse-subdir: Revertig the change made in patch 22019 * 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 --- tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py b/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py index f38e9fe3d..2d565b4b2 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) -- cgit