Skip to content

Commit

Permalink
cephfs: disable failing fallocate tests for more branches
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Dec 17, 2024
1 parent 6820cad commit 098a730
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cephfs/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand All @@ -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")
}

Expand Down

0 comments on commit 098a730

Please sign in to comment.