summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Avuthu <vavuthu@redhat.com>2019-01-25 12:33:00 +0530
committerVijay Avuthu <vavuthu@redhat.com>2019-01-25 09:14:36 +0000
commit1438fe88f709e035eb311ab052067e39e31d7770 (patch)
treecd46e2a07555a12ad88259fbadc887128d36c78a
parent4509f30dbd6c40ae321d285d4067ba30239e0af9 (diff)
fixing the quorum changes according to new behaviour
If quorum is not met, reads/writes fails with transport end point not connected Change-Id: I219c99fc5b96147c059174daf0383454e1bd2831
-rw-r--r--tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py b/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
index 5ad74ec..e9f38b3 100644
--- a/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
+++ b/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
@@ -31,7 +31,7 @@ from glustolibs.gluster.brick_libs import (bring_bricks_offline,
get_all_bricks,
are_bricks_offline)
from glustolibs.io.utils import (validate_io_procs,
- is_io_procs_fail_with_rofs,
+ is_io_procs_fail_with_error,
list_all_files_and_dirs_mounts,
wait_for_io_to_complete)
from glustolibs.gluster.mount_ops import mount_volume, umount_volume
@@ -358,8 +358,9 @@ class ClientSideQuorumTestsMultipleVols(GlusterBaseClass):
# Validate IO
g.log.info("Validating if IO failed with read-only filesystem")
- ret, _ = is_io_procs_fail_with_rofs(self, all_mounts_procs,
- self.mounts)
+ ret, _ = is_io_procs_fail_with_error(self, all_mounts_procs,
+ self.mounts,
+ self.mount_type)
self.assertTrue(ret, ("Unexpected error and IO successful"
" on read-only filesystem"))
g.log.info("EXPECTED: "