[refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe

This commit is contained in:
Pulkit Goyal 2020-02-24 13:49:18 +05:30
parent add2e8b4d0
commit 10805e0452

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
// otherwise if we update CPU/Memory/etc, those values will be corrected back by kubelet
var fakecpu v1.ResourceName = "example.com/fakecpu"
var _ = SIGDescribe("PreemptionExecutionPath", func() {
var cs clientset.Interface
var node *v1.Node
var ns, nodeHostNameLabel string
@ -640,6 +638,7 @@ var _ = SIGDescribe("PreemptionExecutionPath", func() {
}
})
})
})
type pauseRSConfig struct {
Replicas int32