mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-07 00:25:36 +00:00
In the current test, there is a race that the new device plugin endpoint may not be added to the device plugin manager endpoints at the time when we call manager.Devices(). Added the checking and waiting for endpoint updates before calling manager.Devices() in the test. Tested: go test -race -count 500 k8s.io/kubernetes/pkg/kubelet/deviceplugin -run TestDevicePluginReRegistration -timeout 5h
3.3 KiB
3.3 KiB