Merge pull request #84834 from ahg-g/ahg-fwk

Remove Framework dependency on nodeinfo snapshot
This commit is contained in:
Kubernetes Prow Robot
2019-11-07 04:36:29 -08:00
committed by GitHub
19 changed files with 45 additions and 44 deletions

View File

@@ -850,7 +850,7 @@ func TestNodeAffinityPriority(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
state := framework.NewCycleState()
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithNodeInfoSnapshot(nodeinfosnapshot.NewSnapshot(nil, test.nodes)))
fh, _ := framework.NewFramework(nil, nil, nil, framework.WithSnapshotSharedLister(nodeinfosnapshot.NewSnapshot(nil, test.nodes)))
p, _ := New(nil, fh)
var gotList framework.NodeScoreList
for _, n := range test.nodes {