From fb3d300617d3616e1b901dd5503ff330a542c7be Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 15 Mar 2016 11:58:44 +0530 Subject: tests: Self-heald.t spurious failure fix Problem: There is no guarantee that the indices are created by the time write is complete because write-behind may not flush the buffers. Fix: Disable flush-behind so that by the time 'echo abc > file' completes, indices are created. Also removed split-brain-healing.t from spurious failures as we are not able to recreate it. BUG: 1306897 Change-Id: I5c9c735430f1736747c8d7396d2cbf487533f4b5 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/13434 Reviewed-by: Anuradha Talur NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System --- tests/basic/afr/self-heald.t | 1 + tests/basic/afr/split-brain-healing.t | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/basic/afr/self-heald.t b/tests/basic/afr/self-heald.t index b8bee5cf0a1..af657c66fb3 100644 --- a/tests/basic/afr/self-heald.t +++ b/tests/basic/afr/self-heald.t @@ -48,6 +48,7 @@ TEST pidof glusterd TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3,4,5} TEST $CLI volume set $V0 cluster.background-self-heal-count 0 TEST $CLI volume set $V0 cluster.eager-lock off +TEST $CLI volume set $V0 performance.flush-behind off TEST $CLI volume start $V0 TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0 diff --git a/tests/basic/afr/split-brain-healing.t b/tests/basic/afr/split-brain-healing.t index 3a95d9862cd..4132d327511 100644 --- a/tests/basic/afr/split-brain-healing.t +++ b/tests/basic/afr/split-brain-healing.t @@ -181,5 +181,3 @@ EXPECT "1" echo $? cd - TEST rm $AREQUAL_PATH/arequal-checksum cleanup -#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=000000 -#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=000000 -- cgit