From 6d430b85a39784f96b69368e1a9c8b4be4d0ddb1 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Wed, 13 Jan 2016 14:37:30 +0530 Subject: tests: Fix sparse-file-self-heal.t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Psuedo Problem: https://build.gluster.org/job/rackspace-regression-2GB-triggered/16682/consoleFull The 'zeroedfile' disk usage comparision which is failing in this .t file fails so only on XFS. The test passes when the backend is on a s̶a̶n̶e̶r̶ different filesystem like EXT4 or BTRFS. This is due to the speculative preallocation in XFS which can reserve different disk space on different XFS mounts for the same version and same file operation. See BZ 1277992 for an example of XFS behaviour. Fix: Don't compare the disk usage of the file on the bricks of the replica: instead, check that the disk space consumed is atleast equal to the size of the file. Also remove sparse-file-self-heal.t from is_bad_test() Change-Id: If43f59549136ebf91f17ff9d958954b3587afe56 BUG: 1298111 Signed-off-by: Ravishankar N Reviewed-on: http://review.gluster.org/13233 Tested-by: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Pranith Kumar Karampuri NetBSD-regression: NetBSD Build System Smoke: 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 1ed420732f1..c99452d2e54 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -209,7 +209,6 @@ function is_bad_test () ./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/sparse-file-self-heal.t \ ./tests/basic/afr/replace-brick-self-heal.t \ ./tests/bugs/snapshot/bug-1140162-file-snapshot-features-encrypt-opts-validation.t \ ./tests/bugs/tier/bug-1286974.t \ -- cgit