From 39f4a03cbaa7b3b93a3750258607cbd91b9d4b9d Mon Sep 17 00:00:00 2001 From: Mohit Agrawal Date: Fri, 10 Apr 2020 13:45:50 +0530 Subject: 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 --- tests/bugs/bug-1371806_acl.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/bugs/bug-1371806_acl.t') diff --git a/tests/bugs/bug-1371806_acl.t b/tests/bugs/bug-1371806_acl.t index a2e5af49bb0..c39165628cc 100644 --- a/tests/bugs/bug-1371806_acl.t +++ b/tests/bugs/bug-1371806_acl.t @@ -39,6 +39,7 @@ TEST pidof glusterd TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1,2,3,4,5} TEST $CLI volume set $V0 diagnostics.client-log-level DEBUG TEST $CLI volume start $V0 +EXPECT_WITHIN ${PROCESS_UP_TIMEOUT} "6" online_brick_count TEST glusterfs --volfile-id=$V0 --acl --volfile-server=$H0 --entry-timeout=0 $M0; -- cgit