mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #88453 from Pulkit07/issue882820
[refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe
This commit is contained in:
commit
aaca31c35e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user