Merge pull request #34685 from resouer/eclass-2

Automatic merge from submit-queue

Refactor scheduler to enable switch on equivalence cache

Part 2 of #30844 

Refactoring to enable easier switch on of equivalence cache.
This commit is contained in:
Kubernetes Submit Queue
2016-10-18 04:21:33 -07:00
committed by GitHub
5 changed files with 63 additions and 20 deletions

View File

@@ -467,7 +467,7 @@ func TestGetUsedPorts(t *testing.T) {
}
for _, test := range tests {
ports := getUsedPorts(test.pods...)
ports := GetUsedPorts(test.pods...)
if !reflect.DeepEqual(test.ports, ports) {
t.Errorf("%s: expected %v, got %v", "test get used ports", test.ports, ports)
}