From f26dbc473d195a10094102b6289f764937609525 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Tue, 11 Feb 2020 14:32:06 -0500 Subject: [PATCH] Avoid running docker specific test in containerd --- test/e2e/auth/pod_security_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/auth/pod_security_policy.go b/test/e2e/auth/pod_security_policy.go index d81f8663c71..264a7d258cc 100644 --- a/test/e2e/auth/pod_security_policy.go +++ b/test/e2e/auth/pod_security_policy.go @@ -168,7 +168,7 @@ func testPrivilegedPods(tester func(pod *v1.Pod)) { tester(hostipc) }) - if isAppArmorSupported() { + if isAppArmorSupported() && framework.TestContext.ContainerRuntime == "docker" { ginkgo.By("Running a custom AppArmor profile pod", func() { aa := restrictedPod("apparmor") // Every node is expected to have the docker-default profile.