summaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/glusterd/test_volume_create_with_glusterd_restarts.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_volume_create_with_glusterd_restarts.py b/tests/functional/glusterd/test_volume_create_with_glusterd_restarts.py
index 5207fb1..6256e85 100644
--- a/tests/functional/glusterd/test_volume_create_with_glusterd_restarts.py
+++ b/tests/functional/glusterd/test_volume_create_with_glusterd_restarts.py
@@ -70,7 +70,8 @@ class TestVolumeCreateWithGlusterdRestarts(GlusterBaseClass):
server_info_for_three_nodes)
# Restarting glusterd in a loop
restart_cmd = ("for i in `seq 1 5`; do "
- "systemctl restart glusterd; done")
+ "service glusterd restart; sleep 3; "
+ "done")
proc1 = g.run_async(self.servers[3], restart_cmd)
# Creating volumes using 3 servers
@@ -94,7 +95,8 @@ class TestVolumeCreateWithGlusterdRestarts(GlusterBaseClass):
# Restarting glusterd in a loop
restart_cmd = ("for i in `seq 1 5`; do "
- "systemctl restart glusterd; done")
+ "service glusterd restart; sleep 3; "
+ "done")
proc1 = g.run_async(self.servers[3], restart_cmd)
# Start the volume created.