Skip to content

Commit

Permalink
Drop schema v1 test
Browse files Browse the repository at this point in the history
Schema v1 support will be removed in containerd-2.1.

While we continue to support it when containerd is launched with CONTAINERD_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=1 env variable, the effort to keep the test working isn't worth it.

Signed-off-by: Marat Radchenko <[email protected]>
  • Loading branch information
slonopotamus committed Nov 22, 2024
1 parent db6989a commit 9928142
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ var allTests = []func(t *testing.T, sb integration.Sandbox){
testWhiteoutParentDir,
testFrontendImageNaming,
testDuplicateWhiteouts,
testSchema1Image,
testMountWithNoSource,
testInvalidExporter,
testReadonlyRootFS,
Expand Down Expand Up @@ -6898,24 +6897,6 @@ func testMoveParentDir(t *testing.T, sb integration.Sandbox) {
require.True(t, ok)
}

// #296
func testSchema1Image(t *testing.T, sb integration.Sandbox) {
integration.SkipOnPlatform(t, "windows")
c, err := New(sb.Context(), sb.Address())
require.NoError(t, err)
defer c.Close()

st := llb.Image("gcr.io/google_containers/pause:3.0@sha256:0d093c962a6c2dd8bb8727b661e2b5f13e9df884af9945b4cc7088d9350cd3ee")

def, err := st.Marshal(sb.Context())
require.NoError(t, err)

_, err = c.Solve(sb.Context(), def, SolveOpt{}, nil)
require.NoError(t, err)

checkAllReleasable(t, c, sb, true)
}

// #319
func testMountWithNoSource(t *testing.T, sb integration.Sandbox) {
integration.SkipOnPlatform(t, "windows")
Expand Down

0 comments on commit 9928142

Please sign in to comment.