kubectl/pkg/cmd/wait
Arda Güçlü b06f43ae7f kubectl wait: wire generic context (#114574)
* Wire generic context to better handle timeout

* Add integration test for wait timeout

* kubectl wait: Fix integration test always passing issue

Currently, `kubectl wait` integration test always passes even if
it gets an error. Problem is object check is done after errexit is
turned off.

This PR redirects error to output and correctly assures that
object is expected status and if it is not, test should fail.

Kubernetes-commit: 369534c6ec625ed9b251b453215c9578cdeb59bc
2022-12-23 08:15:57 +00:00
..
wait.go kubectl wait: wire generic context (#114574) 2022-12-23 08:15:57 +00:00
wait_test.go Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00