diff options
authorEmmanuel Dreyfus <>2014-08-08 05:19:15 +0200
committerPranith Kumar Karampuri <>2014-08-07 22:01:56 -0700
commit8c837b8e2a0f6fb369b4bc08d9e2a40394478daa (patch)
parent2ec6ea43f2ddc6c00a030be6d04c00f0924277b7 (diff)
Wrong test in self-heal.t
self-heal.t checks for gfid before and after an operation, but fails to do it on the same file since the prefix is not the same: undefined $B1 before and $B0 after. The errorcause the test to fail on NetBSD. I do not know how this test could pass on Linux before. BUG: 764655 Change-Id: I6df1175e177855afca1736cf8c847c51fe407576 Signed-off-by: Emmanuel Dreyfus <> Reviewed-on: Reviewed-by: Ravishankar N <> Reviewed-by: Pranith Kumar Karampuri <> Tested-by: Pranith Kumar Karampuri <>
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/afr/self-heal.t b/tests/basic/afr/self-heal.t
index 98b4487af5b..731bd8fbc20 100644
--- a/tests/basic/afr/self-heal.t
+++ b/tests/basic/afr/self-heal.t
@@ -174,7 +174,7 @@ TEST touch $M0/file
TEST kill_brick $V0 $H0 $B0/brick0
TEST rm -f $M0/file
TEST touch $M0/file
-GFID=$(gf_get_gfid_xattr $B1/brick1/file)
+GFID=$(gf_get_gfid_xattr $B0/brick1/file)
TEST $CLI volume start $V0 force
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0