minikube/test
Nir Soffer ac378f46f5 test: Improve image list checks
We had similar code to check if image exists or not. Add
checkImageNotExists() helper and refactor listImages() helper to make it
easier to use.

listImages() fails the test so the caller do no not need to check for
errors. It returns list of images so the caller does not have to parse
the output.

When parsing the output of `minikube image ls` use scanner to split the
output to lines. Previously we search images in rr.Output() (formatted
message with contents of stdout and stderr) instead of
rr.Stdout.String(), which could lead to returning a wrong result.
2025-08-23 21:12:54 +03:00
..
integration test: Improve image list checks 2025-08-23 21:12:54 +03:00
stress fix lint errors 2023-03-20 12:43:07 -07:00