Remove Framework dependency on nodeinfo snapshot

This commit is contained in:
Abdullah Gharaibeh
2019-11-05 21:25:07 -05:00
parent a89265b441
commit 6b4bd87ba3
19 changed files with 45 additions and 44 deletions

View File

@@ -388,7 +388,7 @@ func TestNodeResourcesBalancedAllocation(t *testing.T) {
info.TransientInfo.TransNodeInfo.RequestedVolumes = len(test.pod.Spec.Volumes)
}
}
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithNodeInfoSnapshot(snapshot))
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithSnapshotSharedLister(snapshot))
p, _ := NewBalancedAllocation(nil, fh)
for i := range test.nodes {