From 098a73032734a20cfe3e267137b01e4f47c8e48f Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 11 Dec 2024 20:41:45 -0500 Subject: [PATCH] cephfs: disable failing fallocate tests for more branches In pr#1045 we disabled the test for main. It seems that the change has now been backported to many other branches as the test began failing on all pre-{quincy,reef,squid} cli jobs too. Disable the test for pretty much all the active ceph branches. Signed-off-by: John Mulligan --- cephfs/file_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cephfs/file_test.go b/cephfs/file_test.go index aea7f6e71..b053a5929 100644 --- a/cephfs/file_test.go +++ b/cephfs/file_test.go @@ -512,7 +512,8 @@ func TestFallocate(t *testing.T) { // Allocate space - default case, mode == 0. t.Run("modeIsZero", func(t *testing.T) { - if serverVersion == cephMain { + switch serverVersion { + case cephMain, cephSquid, cephReef, cephQuincy: t.Skip("fallocate with mode 0 is unsupported: https://tracker.ceph.com/issues/68026") } @@ -531,7 +532,8 @@ func TestFallocate(t *testing.T) { // Allocate space - size increases, data remains intact. t.Run("increaseSize", func(t *testing.T) { - if serverVersion == cephMain { + switch serverVersion { + case cephMain, cephSquid, cephReef, cephQuincy: t.Skip("fallocate with mode 0 is unsupported: https://tracker.ceph.com/issues/68026") }