fix slow dra unit test

This commit is contained in:
HirazawaUi
2024-03-13 21:18:00 +08:00
parent 656cb1028e
commit 10b6319e64
11 changed files with 51 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ func (f *fakePluginHandler) ValidatePlugin(pluginName string, endpoint string, v
}
// RegisterPlugin is a fake method
func (f *fakePluginHandler) RegisterPlugin(pluginName, endpoint string, versions []string) error {
func (f *fakePluginHandler) RegisterPlugin(pluginName, endpoint string, versions []string, pluginClientTimeout *time.Duration) error {
f.Lock()
defer f.Unlock()
f.events = append(f.events, "register "+pluginName)