summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_detach_node_used_to_mount.py
diff options
context:
space:
mode:
authoryinkui <13965432176@163.com>2019-09-08 14:06:23 +0800
committerBala Konda Reddy M <bmekala@redhat.com>2019-10-15 13:46:47 +0000
commite40b6364ef7e696f23e8feea43765d576e47d53d (patch)
tree410c92b22f7ddbe678e8fc077098095546ccd881 /tests/functional/glusterd/test_detach_node_used_to_mount.py
parentc3d85c227ac74bf110d14bfd46561b98b6ca98c3 (diff)
[Fix] Adding count++ to prevent test from running in infinite loop
In a few testcases in glusterd count++ is missing due to which the testcase in an infinite loop. Fixing that and sending patch. Change-Id: I56a355f6ea3ae79231e09d7aee80031da3ebec52 Signed-off-by: yinkui <13965432176@163.com> Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/glusterd/test_detach_node_used_to_mount.py')
-rw-r--r--tests/functional/glusterd/test_detach_node_used_to_mount.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/glusterd/test_detach_node_used_to_mount.py b/tests/functional/glusterd/test_detach_node_used_to_mount.py
index 330899b5c..e5b2a70c1 100644
--- a/tests/functional/glusterd/test_detach_node_used_to_mount.py
+++ b/tests/functional/glusterd/test_detach_node_used_to_mount.py
@@ -72,6 +72,7 @@ class TestChangeReservcelimit(GlusterBaseClass):
if ret:
break
sleep(3)
+ count += 1
# Unmounting and cleaning volume
ret, _, _ = umount_volume(mclient=self.mounts[0].client_system,