Skip to content

Commit 9f58fb7

Browse files
authored
Merge pull request kubernetes#88033 from dims/avoid-running-docker-specific-test-in-containerd
Avoid running docker specific test in containerd
2 parents c4df69d + f26dbc4 commit 9f58fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/auth/pod_security_policy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func testPrivilegedPods(tester func(pod *v1.Pod)) {
168168
tester(hostipc)
169169
})
170170

171-
if isAppArmorSupported() {
171+
if isAppArmorSupported() && framework.TestContext.ContainerRuntime == "docker" {
172172
ginkgo.By("Running a custom AppArmor profile pod", func() {
173173
aa := restrictedPod("apparmor")
174174
// Every node is expected to have the docker-default profile.

0 commit comments

Comments
 (0)