mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 13:57:38 +00:00
The testExtendedResource caller supplies a spec without selector and thus allocated devices from whatever slice some other test might have created. This caused random test flakes, typically in UsesAllResources because it cannot allocate all its claims. This could be fixed in the caller, but as the function exists and might also be called incorrectly in other, future tests, the function itself gets changed to add the selector if the caller didn't provide one.