mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-09 01:25:37 +00:00
the e2e TCP CLOSE_WAIT has to create a server pod and then, from a client, it creates a connection but doesn't notify the server when closing it, so it stays on the CLOSE_WAIT status until it times out. Current test use a simple timeout for waiting the that server pod is ready, it's better to use WaitForPodsReady for waiting that the pod is available to avoid problems on busy environments like the CI. It also deletes the pods once the tests finish to avoid leaking pods.