From df46d9e2b5f83fb91a360ec1c5123ff7a5d7ef47 Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 15 Dec 2021 12:11:00 +0100 Subject: [PATCH] another try --- .../resources/local-integration-test/setup-local-s3-on-k3d.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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