From 84d09519697e40c01d472e2b0c1afed34a05652b Mon Sep 17 00:00:00 2001 From: Matthias Bertschy Date: Mon, 7 Oct 2019 16:12:25 +0200 Subject: [PATCH] Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation --- test/e2e_node/startup_probe_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/e2e_node/startup_probe_test.go b/test/e2e_node/startup_probe_test.go index 5ff159ad7f1..5aeea8ee462 100644 --- a/test/e2e_node/startup_probe_test.go +++ b/test/e2e_node/startup_probe_test.go @@ -37,9 +37,12 @@ const ( defaultObservationTimeout = time.Minute * 4 ) -var _ = framework.KubeDescribe("StartupProbe [Serial] [Disruptive] [NodeFeature:StartupProbe]", func() { - f := framework.NewDefaultFramework("critical-pod-test") +var _ = framework.KubeDescribe("StartupProbe [Serial] [Disruptive] [NodeAlphaFeature:StartupProbe]", func() { + f := framework.NewDefaultFramework("startup-probe-test") var podClient *framework.PodClient + ginkgo.BeforeEach(func() { + podClient = f.PodClient() + }) /* These tests are located here as they require tempSetCurrentKubeletConfig to enable the feature gate for startupProbe.