Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation

This commit is contained in:
Matthias Bertschy 2019-10-07 16:12:25 +02:00
parent 24424e26d1
commit 84d0951969

View File

@ -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.