From: Reinhard Tartler Date: Tue, 24 Mar 2026 21:03:11 -0400 Subject: Skip failing tests --- config/config_test.go | 1 + tests/converter_test.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/config/config_test.go b/config/config_test.go index cd0c232..2117e6e 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -17,6 +17,7 @@ import ( ) func TestLoadSnapshotterTOMLConfig(t *testing.T) { + t.Skip("test doesn't work in package build") A := assert.New(t) cfg, err := LoadSnapshotterConfig("../misc/snapshotter/config.toml") diff --git a/tests/converter_test.go b/tests/converter_test.go index ded911e..329c06c 100644 --- a/tests/converter_test.go +++ b/tests/converter_test.go @@ -457,6 +457,7 @@ func buildChunkDict(t *testing.T, workDir, fsVersion string, n int) (string, str } func TestPack(t *testing.T) { + t.Skip("test doesn't work in package build") testPack(t, "5") testPack(t, "6") } @@ -605,6 +606,7 @@ func TestPackRef(t *testing.T) { // sudo go test -v -count=1 -run TestUnpack ./tests func TestUnpack(t *testing.T) { + t.Skip("test doesn't work in package build") testUnpack(t, "5", 3) testUnpack(t, "6", 3) } @@ -647,6 +649,7 @@ type ConvertTestOption struct { // sudo go test -v -count=1 -run TestImageConvert ./tests func TestImageConvert(t *testing.T) { + t.Skip("test doesn't work in package build") for _, fsVersion := range []string{"5", "6"} { testImageConvertNoBackend(t, fsVersion) testImageConvertS3Backend(t, fsVersion)