mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-23 19:16:25 +00:00
add a e2e test to ensure that if the Get endpoint is asked about a non-existing pod, it returns error. Likewise, add a e2e test for terminated pods, which should not be returned because they don't consume nor hold resources, much like `List` does. The expected usage patterns is to iterate over the list of pods returned by `List`, but nevertheless the endpoint must handle this case. Signed-off-by: Francesco Romani <fromani@redhat.com>