Merge pull request #88453 from Pulkit07/issue882820

[refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe
This commit is contained in:
Kubernetes Prow Robot 2020-02-27 00:15:46 -08:00 committed by GitHub
commit aaca31c35e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,13 +416,11 @@ var _ = SIGDescribe("SchedulerPreemption [Serial]", func() {
} }
}) })
}) })
})
ginkgo.Context("PreemptionExecutionPath", func() {
// construct a fakecpu so as to set it to status of Node object // construct a fakecpu so as to set it to status of Node object
// otherwise if we update CPU/Memory/etc, those values will be corrected back by kubelet // otherwise if we update CPU/Memory/etc, those values will be corrected back by kubelet
var fakecpu v1.ResourceName = "example.com/fakecpu" var fakecpu v1.ResourceName = "example.com/fakecpu"
var _ = SIGDescribe("PreemptionExecutionPath", func() {
var cs clientset.Interface var cs clientset.Interface
var node *v1.Node var node *v1.Node
var ns, nodeHostNameLabel string var ns, nodeHostNameLabel string
@ -640,6 +638,7 @@ var _ = SIGDescribe("PreemptionExecutionPath", func() {
} }
}) })
}) })
})
type pauseRSConfig struct { type pauseRSConfig struct {
Replicas int32 Replicas int32