Files
kubernetes/test
Claudiu Belu 06a1b7b491 tests: Retries exec after container restart due to liveness
The test "should not change the subpath mount on a container restart if the environment variable changes"
creates a pod with the liveness probe: cat /volume_mount/test.log. The test then
deletes that file, which causes the probe to fail and the container to be restarted.
After which it recreates the file by exec-ing into the pod, but there is a chance
that the container was not created yet, or it did not start yet.

This commit adds a few retries to the exec command.
2020-04-29 03:22:30 -07:00
..
2020-02-08 12:30:21 -05:00
2020-03-05 14:59:46 -08:00
2020-03-27 22:56:21 +08:00