chore(scheduler): cleanup some minor issues in testing

This commit is contained in:
Abirdcfly
2022-11-01 19:07:01 +08:00
parent ac59b03214
commit bf8570029e
5 changed files with 17 additions and 39 deletions

View File

@@ -645,11 +645,6 @@ func TestStorageRequests(t *testing.T) {
}
func TestFitScore(t *testing.T) {
defaultResources := []config.ResourceSpec{
{Name: string(v1.ResourceCPU), Weight: 1},
{Name: string(v1.ResourceMemory), Weight: 1},
}
tests := []struct {
name string
requestedPod *v1.Pod