Update ecache and add scheduler method

This commit is contained in:
Harry Zhang
2016-10-11 11:13:35 -04:00
parent 560c46574e
commit 50eaeaa7bd
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)
}