summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-1371806.t
diff options
context:
space:
mode:
authorMohit Agrawal <moagrawal@redhat.com>2020-04-10 13:45:50 +0530
committerAmar Tumballi <amar@kadalu.io>2020-04-16 11:15:51 +0000
commit39f4a03cbaa7b3b93a3750258607cbd91b9d4b9d (patch)
tree6763e646a9f50033b752e22f2b7bef83ffad2bed /tests/bugs/bug-1371806.t
parentf507c20bd11565c329d103075a15da11dba461d5 (diff)
tests: Fix for spurious failure for some test cases
Problem: Sometimes test case is failing at the time of creating files on mount point after mounting the volume Solution: After started the volume need to wait to make sure all bricks instances are completely started so put a online_brick_count check after just started the volume Change-Id: I5020e7e417539377277ca00189f9c51d2cf877a6 Fixes: #1162 Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'tests/bugs/bug-1371806.t')
-rw-r--r--tests/bugs/bug-1371806.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/bug-1371806.t b/tests/bugs/bug-1371806.t
index 7dc1613..0818052 100644
--- a/tests/bugs/bug-1371806.t
+++ b/tests/bugs/bug-1371806.t
@@ -28,6 +28,7 @@ TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1,2,3,4,5}
TEST $CLI volume start $V0
+EXPECT_WITHIN ${PROCESS_UP_TIMEOUT} "6" online_brick_count
TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 --entry-timeout=0 $M0;