summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_create_vol_with_used_bricks.py
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2020-01-30 11:50:17 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-02-19 12:04:47 +0000
commit7895c20654b06ff647853b7c631953b64026b8c8 (patch)
treeaf10fb9ee734dcb5abf991961ba44fa07791d6a8 /tests/functional/glusterd/test_create_vol_with_used_bricks.py
parent75898ee995b08892ab4b936094a58d4321fc24a6 (diff)
[testfix] Add steps to stabilise content in glusterd - part2
and used wait for peer to connect and wait for glusterd to connect functions in testcases added fixes to check file exists increased timeout value for failure cases Change-Id: I9d5692f635ed324ffe7dac9944ec9b8f3b933fd1 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Diffstat (limited to 'tests/functional/glusterd/test_create_vol_with_used_bricks.py')
-rw-r--r--tests/functional/glusterd/test_create_vol_with_used_bricks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/glusterd/test_create_vol_with_used_bricks.py b/tests/functional/glusterd/test_create_vol_with_used_bricks.py
index 7c48b920f..2c18bcb6c 100644
--- a/tests/functional/glusterd/test_create_vol_with_used_bricks.py
+++ b/tests/functional/glusterd/test_create_vol_with_used_bricks.py
@@ -19,6 +19,7 @@
"""
import sys
+from time import sleep
from glusto.core import Glusto as g
@@ -149,6 +150,7 @@ class TestCreateVolWithUsedBricks(GlusterBaseClass):
self.assertEqual(ret, 0, "Volume %s is not unmounted" % (
self.volname))
g.log.info("Volume unmounted successfully : %s", self.volname)
+ sleep(2)
ret = rmdir(mount_obj.client_system, mount_obj.mountpoint)
self.assertTrue(ret, "Failed to remove directory mount directory.")
g.log.info("Mount directory is removed successfully")