Merge pull request #83570 from matthyx/startup_probe_test

Mark startupProbe test as NodeAlphaFeature and fix podClient
This commit is contained in:
Kubernetes Prow Robot 2019-10-07 23:36:18 -07:00 committed by GitHub
commit cb177dc6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.