diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-08-08 05:19:15 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2014-08-07 22:01:56 -0700 |
commit | 8c837b8e2a0f6fb369b4bc08d9e2a40394478daa (patch) | |
tree | 2b99618c34bfbecefae3198c9fc15faae1a5eb0e | |
parent | 2ec6ea43f2ddc6c00a030be6d04c00f0924277b7 (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 <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8431
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
-rw-r--r-- | tests/basic/afr/self-heal.t | 2 |
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 |