We use single machine with 4 runners. Each runner can create k3d cluster.
If we run multiple tests at the same time then default context can switch during test run.
retry function parameter is executed in bash -c, so it won't use test context by default. This PR fixes it.
It replaces space after kubectl or helm command with space + context:
We use single machine with 4 runners. Each runner can create k3d cluster. If we run multiple tests at the same time then default context can switch during test run.
retry
function parameter is executed inbash -c
, so it won't use test context by default. This PR fixes it. It replaces space after kubectl or helm command with space + context:kubectl [space] ...
->kubectl --context $CONTEXT [space] ...
.