From ea94b2b8767e0d477a672355d758e0e8393362ee Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Tue, 5 Jan 2016 15:36:28 +0530 Subject: tests: Fix spurious failure in bug-1221481-allow-fops-on-dir-split-brain.t. Occasionally, when ls is executed, prior to READDIRP, a STAT is wound on the operand directory. And AFR fails STAT with EIO if it is in metadata split-brain which "dir" is in the test case in question. As a result, ls also fails with EIO, causing test 20 to return negative exit status. The fix is in the test script where the parts that cause the dir to go into metadata split-brain have been removed. Now "dir" will only have entry split-brain. Change-Id: I4e4e6ba0a2401c7168719cd44e5f4f4bcb8fdd89 BUG: 1295702 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/13172 Reviewed-by: Pranith Kumar Karampuri Tested-by: Pranith Kumar Karampuri Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- run-tests.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index 9ce914efba6..f9000a1d918 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -206,7 +206,6 @@ function is_bad_test () ./tests/bugs/glusterd/bug-1238706-daemons-stop-on-peer-cleanup.t \ ./tests/geo-rep/georep-basic-dr-rsync.t \ ./tests/geo-rep/georep-basic-dr-tarssh.t \ - ./tests/bugs/replicate/bug-1221481-allow-fops-on-dir-split-brain.t \ ./tests/bugs/fuse/bug-924726.t \ ./tests/basic/afr/split-brain-healing.t \ ./tests/basic/afr/replace-brick-self-heal.t \ -- cgit