summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2020-02-19 17:52:02 +0530
committerSri Vignesh <sselvan@redhat.com>2020-02-19 17:52:02 +0530
commitdf5846416b7ba9c75a8ee6298af5629fabb2aec2 (patch)
treec9537d66c7df40b9b38b4eb57a96fb673cb32b65 /tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
parent7895c20654b06ff647853b7c631953b64026b8c8 (diff)
[testfix] removed the rmdir which was merged in baseclass
Change-Id: I04f7b7c894d48d0188379028412d9c6b48eac210 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Diffstat (limited to 'tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py')
-rw-r--r--tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py b/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
index 1cca5bc88..90e962b39 100644
--- a/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
+++ b/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
@@ -30,7 +30,6 @@ from glustolibs.gluster.brick_ops import remove_brick
from glustolibs.gluster.exceptions import ExecutionError
from glustolibs.gluster.mount_ops import mount_volume, umount_volume
from glustolibs.io.utils import validate_io_procs, wait_for_io_to_complete
-from glustolibs.gluster.glusterdir import rmdir
from glustolibs.gluster.gluster_init import restart_glusterd
@@ -54,11 +53,6 @@ class TestRemoveBrickAfterRestartGlusterd(GlusterBaseClass):
ret = umount_volume(self.mounts[0].client_system,
self.mounts[0].mountpoint, mtype=self.mount_type)
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)