This commit is contained in:
weizhichen 2022-10-13 01:47:08 +00:00
parent f2e7211ab8
commit 5d514601a8

View File

@ -1507,12 +1507,12 @@ func createDswpWithVolumeWithCustomPluginMgr(t *testing.T, pv *v1.PersistentVolu
csiTranslator := csitrans.New() csiTranslator := csitrans.New()
dswp := &desiredStateOfWorldPopulator{ dswp := &desiredStateOfWorldPopulator{
kubeClient: fakeClient, kubeClient: fakeClient,
loopSleepDuration: 100 * time.Millisecond, loopSleepDuration: 100 * time.Millisecond,
podManager: fakePodManager, podManager: fakePodManager,
podStateProvider: fakeStateProvider, podStateProvider: fakeStateProvider,
desiredStateOfWorld: fakesDSW, desiredStateOfWorld: fakesDSW,
actualStateOfWorld: fakeASW, actualStateOfWorld: fakeASW,
pods: processedPods{ pods: processedPods{
processedPods: make(map[types.UniquePodName]bool)}, processedPods: make(map[types.UniquePodName]bool)},
kubeContainerRuntime: fakeRuntime, kubeContainerRuntime: fakeRuntime,