summaryrefslogtreecommitdiffstats
path: root/tests/bugs/replicate/bug-1101647.t
diff options
context:
space:
mode:
authorkarthik-us <ksubrahm@redhat.com>2020-04-09 13:11:47 +0530
committerAmar Tumballi <amar@kadalu.io>2020-04-29 04:39:45 +0000
commitbc6ef2847cd0c00269313a83854e091d2e4589b0 (patch)
tree055b3ca1faf60d0ff94b0af95dbd238e2c5886aa /tests/bugs/replicate/bug-1101647.t
parent41767065dc6d3dfe32c7b793ec0389950722897f (diff)
tests: Fix bug-1101647.t test case failure
Problem: tests/bugs/replicate/bug-1101647.t test case fails sporadically in the volume heal since connection to the bricks with shd was not being checked before running the index heal. Build link: https://build.gluster.org/job/regression-test-burn-in/5007/ Fix: Check for the connection status of the bricks with shd before performing the index heal. Change-Id: Ie7060f379b63bef39fd4f9804f6e22e0a25680c1 Updates: #1154 Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'tests/bugs/replicate/bug-1101647.t')
-rw-r--r--tests/bugs/replicate/bug-1101647.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/replicate/bug-1101647.t b/tests/bugs/replicate/bug-1101647.t
index 8f420eec012..708bc1a1e29 100644
--- a/tests/bugs/replicate/bug-1101647.t
+++ b/tests/bugs/replicate/bug-1101647.t
@@ -12,6 +12,8 @@ TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{1,2};
TEST $CLI volume start $V0;
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status
+EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0
+EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 1
#Create base entry in indices/xattrop
echo "Data">$M0/file