![]() The GetAllocatableDevices, needed to support the podresources API, doesn't take into account the device health when computing its output. In this PR we address this gap and add unit tests along the way to prevent regressions. This gives us a good initial coverage, E2E tests to cover this case are much harder to write, because we would need to inject faults to trigger the unhealthy status. We will evaluate if adding these tests into later PRs. Signed-off-by: Francesco Romani <fromani@redhat.com> |
||
---|---|---|
.. | ||
checkpoint | ||
device_plugin_stub.go | ||
endpoint_test.go | ||
endpoint.go | ||
manager_stub.go | ||
manager_test.go | ||
manager.go | ||
OWNERS | ||
pod_devices_test.go | ||
pod_devices.go | ||
topology_hints_test.go | ||
topology_hints.go | ||
types.go |