diff options
Diffstat (limited to 'kud/tests/kata.sh')
-rwxr-xr-x | kud/tests/kata.sh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/kud/tests/kata.sh b/kud/tests/kata.sh index f55d8cd3..53ca4575 100755 --- a/kud/tests/kata.sh +++ b/kud/tests/kata.sh @@ -18,26 +18,10 @@ set -o errexit set -o nounset set -o pipefail -#source _common_test.sh -#source _common.sh -#source _functions.sh +source _functions.sh kata_pods="kata-qemu kata-clh" -function wait_for_pod { - status_phase="" - while [[ "$status_phase" != "Running" ]]; do - new_phase="$(kubectl get pods -o wide | grep ^$1 | awk '{print $3}')" - if [[ "$new_phase" != "$status_phase" ]]; then - status_phase="$new_phase" - fi - if [[ "$new_phase" == "Err"* ]]; then - exit 1 - fi - sleep 2 - done -} - for pod in ${kata_pods};do echo "Deploying ${pod} pod" kubectl apply -f ${pod}.yml |