| 1 | Fromscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/patches/`0003-Skip-failing-tests.patch`#From.: Reinhard Tartler <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/patches/`0003-Skip-failing-tests.patch`#Date.: Tue, 24 Mar 2026 21:03:11 -0400 |
| 3 | Subjectscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/patches/`0003-Skip-failing-tests.patch`#Subject.: Skip failing tests |
| 4 | |
| 5 | --- |
| 6 | config/config_test.go | 1 + |
| 7 | tests/converter_test.go | 3 +++ |
| 8 | 2 files changed, 4 insertions(+) |
| 9 | |
| 10 | diff --git a/config/config_test.goscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/upstream/`config/config_test.go`: b/config/config_test.goscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/upstream/`config/config_test.go`: |
| 11 | index cd0c232..2117e6e 100644 |
| 12 | --- a/config/config_test.go |
| 13 | +++ b/config/config_test.go |
| 14 | @@ -17,6 +17,7 @@ import ( |
| 15 | ) |
| 16 | |
| 17 | func TestLoadSnapshotterTOMLConfig(t *testing.T) { |
| 18 | + t.Skip("test doesn't work in package build") |
| 19 | A := assert.New(t) |
| 20 | |
| 21 | cfg, err := LoadSnapshotterConfig("../misc/snapshotter/config.toml") |
| 22 | diff --git a/tests/converter_test.goscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/upstream/`tests/converter_test.go`: b/tests/converter_test.goscip-debian debian golang-github-containerd-nydus-snapshotter 0.13.4-7 golang-github-containerd-nydus-snapshotter/upstream/`tests/converter_test.go`: |
| 23 | index ded911e..329c06c 100644 |
| 24 | --- a/tests/converter_test.go |
| 25 | +++ b/tests/converter_test.go |
| 26 | @@ -457,6 +457,7 @@ func buildChunkDict(t *testing.T, workDir, fsVersion string, n int) (string, str |
| 27 | } |
| 28 | |
| 29 | func TestPack(t *testing.T) { |
| 30 | + t.Skip("test doesn't work in package build") |
| 31 | testPack(t, "5") |
| 32 | testPack(t, "6") |
| 33 | } |
| 34 | @@ -605,6 +606,7 @@ func TestPackRef(t *testing.T) { |
| 35 | |
| 36 | // sudo go test -v -count=1 -run TestUnpack ./tests |
| 37 | func TestUnpack(t *testing.T) { |
| 38 | + t.Skip("test doesn't work in package build") |
| 39 | testUnpack(t, "5", 3) |
| 40 | testUnpack(t, "6", 3) |
| 41 | } |
| 42 | @@ -647,6 +649,7 @@ type ConvertTestOption struct { |
| 43 | |
| 44 | // sudo go test -v -count=1 -run TestImageConvert ./tests |
| 45 | func TestImageConvert(t *testing.T) { |
| 46 | + t.Skip("test doesn't work in package build") |
| 47 | for _, fsVersion := range []string{"5", "6"} { |
| 48 | testImageConvertNoBackend(t, fsVersion) |
| 49 | testImageConvertS3Backend(t, fsVersion) |