diff options
author | Sri Vignesh <sselvan@redhat.com> | 2020-01-30 11:50:17 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-02-19 12:04:47 +0000 |
commit | 7895c20654b06ff647853b7c631953b64026b8c8 (patch) | |
tree | af10fb9ee734dcb5abf991961ba44fa07791d6a8 /tests/functional/glusterd/test_replace_brick_quorum_not_met.py | |
parent | 75898ee995b08892ab4b936094a58d4321fc24a6 (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_replace_brick_quorum_not_met.py')
-rw-r--r-- | tests/functional/glusterd/test_replace_brick_quorum_not_met.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_replace_brick_quorum_not_met.py b/tests/functional/glusterd/test_replace_brick_quorum_not_met.py index a6dc531d5..f89d963a5 100644 --- a/tests/functional/glusterd/test_replace_brick_quorum_not_met.py +++ b/tests/functional/glusterd/test_replace_brick_quorum_not_met.py @@ -156,7 +156,7 @@ class TestReplaceBrickWhenQuorumNotMet(GlusterBaseClass): # on one of the server, Its not possible to check the brick status # immediately in volume status after glusterd stop count = 0 - while count < 100: + while count < 120: vol_status = get_volume_status(self.mnode, self.volname) servers_count = len(vol_status[self.volname].keys()) if servers_count == 5: @@ -204,7 +204,7 @@ class TestReplaceBrickWhenQuorumNotMet(GlusterBaseClass): # on one of the servers, Its not possible to check the brick status # immediately in volume status after glusterd start count = 0 - while count < 100: + while count < 120: vol_status = get_volume_status(self.mnode, self.volname) servers_count = len(vol_status[self.volname].keys()) if servers_count == 6: |