We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5add172 commit 537d752Copy full SHA for 537d752
1 file changed
integration/issue7496_linux_test.go
@@ -42,6 +42,15 @@ import (
42
//
43
// NOTE: https://github.com/containerd/containerd/issues/8931 is the same issue.
44
func TestIssue7496(t *testing.T) {
45
+ t.Logf("Checking CRI config's default runtime")
46
+ criCfg, err := CRIConfig()
47
+ require.NoError(t, err)
48
+
49
+ typ := criCfg.ContainerdConfig.Runtimes[criCfg.ContainerdConfig.DefaultRuntimeName].Type
50
+ if !strings.HasSuffix(typ, "runc.v2") {
51
+ t.Skipf("default runtime should be runc.v2, but it's not: %s", typ)
52
+ }
53
54
ctx := namespaces.WithNamespace(context.Background(), "k8s.io")
55
56
t.Logf("Create a pod config and run sandbox container")
0 commit comments