From df5846416b7ba9c75a8ee6298af5629fabb2aec2 Mon Sep 17 00:00:00 2001 From: Sri Vignesh Date: Wed, 19 Feb 2020 17:52:02 +0530 Subject: [testfix] removed the rmdir which was merged in baseclass Change-Id: I04f7b7c894d48d0188379028412d9c6b48eac210 Signed-off-by: Sri Vignesh --- tests/functional/glusterd/test_rebalance_hang.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/functional/glusterd/test_rebalance_hang.py') diff --git a/tests/functional/glusterd/test_rebalance_hang.py b/tests/functional/glusterd/test_rebalance_hang.py index 9c5eb93cf..7911eb277 100644 --- a/tests/functional/glusterd/test_rebalance_hang.py +++ b/tests/functional/glusterd/test_rebalance_hang.py @@ -19,7 +19,6 @@ from glustolibs.gluster.gluster_base_class import GlusterBaseClass, runs_on from glustolibs.gluster.volume_ops import (volume_create, volume_start, get_volume_list, get_volume_status) from glustolibs.gluster.brick_libs import get_all_bricks -from glustolibs.gluster.glusterdir import rmdir from glustolibs.gluster.volume_libs import (cleanup_volume) from glustolibs.gluster.peer_ops import (peer_probe, peer_detach, peer_probe_servers, @@ -58,11 +57,6 @@ class TestRebalanceHang(GlusterBaseClass): self.assertTrue(ret, ("Failed to Unmount Volume %s" % self.volname)) g.log.info("Successfully Unmounted Volume %s", self.volname) - ret = rmdir(self.mounts[0].client_system, self.mounts[0].mountpoint) - if not ret: - raise ExecutionError("Failed to remove directory mount directory.") - g.log.info("Mount directory is removed successfully") - # Clean up all volumes and peer probe to form cluster vol_list = get_volume_list(self.mnode) if vol_list is not None: -- cgit