Skip to content

Commit f26dbc4

Browse files
committed
Avoid running docker specific test in containerd
1 parent 574acbe commit f26dbc4

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)