diff --git a/src/test/resources/local-integration-test/setup-local-s3-on-k3d.sh b/src/test/resources/local-integration-test/setup-local-s3-on-k3d.sh index 9de4d79..d8aca0e 100755 --- a/src/test/resources/local-integration-test/setup-local-s3-on-k3d.sh +++ b/src/test/resources/local-integration-test/setup-local-s3-on-k3d.sh @@ -32,7 +32,8 @@ function main() cd ../../../../ # c4k-nextcloud project root lein uberjar java -jar target/uberjar/c4k-nextcloud-standalone.jar config-local.edn auth-local.edn | kubectl apply -f - - kubectl wait $(kubectl get pod -l app=cloud-pod -o name) --for=condition=Ready --timeout=240s + POD=$(kubectl get pod -l app=cloud-pod -o name) + kubectl wait $POD --for=condition=Ready --timeout=240s kubectl scale deployment backup-restore --replicas 1