summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2016-12-19 12:22:29 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-12-21 00:58:11 -0800
commit8094e5005fbe9016ae039003bcc617d1172385b3 (patch)
tree08ba4939ee340b9d725e4b947c7e66a0ca6eee34 /tests
parent9509b4619b8a373538b6857a06f1032c46a432fe (diff)
tests: Fix spurious failure in tests/bugs/replicate/bug-1402730.t
Replace the EXPECT '00000001' with EXPECT_NOT '00000000'. This is because occasionally a name-heal is performing new-entry marking on 'c' causing the pending entry changelog on it to become '00000002'. Change-Id: I30916e6266534d18899cfa5771c892db8c51ad9a BUG: 1405902 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/16193 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/replicate/bug-1402730.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/replicate/bug-1402730.t b/tests/bugs/replicate/bug-1402730.t
index c6768a0c678..dcde60dbdf7 100644
--- a/tests/bugs/replicate/bug-1402730.t
+++ b/tests/bugs/replicate/bug-1402730.t
@@ -34,8 +34,8 @@ GFID_C=$(get_gfid_string $M0/a/b/c)
TEST stat $B0/${V0}0/.glusterfs/indices/entry-changes/$GFID_C/file
TEST stat $B0/${V0}1/.glusterfs/indices/entry-changes/$GFID_C/file
-EXPECT "00000001" afr_get_specific_changelog_xattr $B0/${V0}0/a/b/c trusted.afr.$V0-client-2 entry
-EXPECT "00000001" afr_get_specific_changelog_xattr $B0/${V0}1/a/b/c trusted.afr.$V0-client-2 entry
+EXPECT_NOT "00000000" afr_get_specific_changelog_xattr $B0/${V0}0/a/b/c trusted.afr.$V0-client-2 entry
+EXPECT_NOT "00000000" afr_get_specific_changelog_xattr $B0/${V0}1/a/b/c trusted.afr.$V0-client-2 entry
cd ~