Skip to content

Commit a4644fe

Browse files
slonopotamustonistiigi
authored andcommitted
Drop schema v1 test
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]>
1 parent b04f342 commit a4644fe

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

client/client_test.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ var allTests = []func(t *testing.T, sb integration.Sandbox){
115115
testWhiteoutParentDir,
116116
testFrontendImageNaming,
117117
testDuplicateWhiteouts,
118-
testSchema1Image,
119118
testMountWithNoSource,
120119
testInvalidExporter,
121120
testReadonlyRootFS,
@@ -7110,23 +7109,6 @@ func testMoveParentDir(t *testing.T, sb integration.Sandbox) {
71107109
require.True(t, ok)
71117110
}
71127111

7113-
// #296
7114-
func testSchema1Image(t *testing.T, sb integration.Sandbox) {
7115-
c, err := New(sb.Context(), sb.Address())
7116-
require.NoError(t, err)
7117-
defer c.Close()
7118-
7119-
st := llb.Image("gcr.io/google_containers/pause:3.0@sha256:0d093c962a6c2dd8bb8727b661e2b5f13e9df884af9945b4cc7088d9350cd3ee")
7120-
7121-
def, err := st.Marshal(sb.Context())
7122-
require.NoError(t, err)
7123-
7124-
_, err = c.Solve(sb.Context(), def, SolveOpt{}, nil)
7125-
require.NoError(t, err)
7126-
7127-
checkAllReleasable(t, c, sb, true)
7128-
}
7129-
71307112
// #319
71317113
func testMountWithNoSource(t *testing.T, sb integration.Sandbox) {
71327114
integration.SkipOnPlatform(t, "windows")

0 commit comments

Comments
 (0)