Merge pull request #11789 from thotz/test-failure-encryption-pvc-kms-vault-token

test: check rgw pod is running for canary github workflow
This commit is contained in:
Travis Nielsen authored and GitHub committed 2023-04-06 10:55:55 -06:00
commit 8ea26a72ed
2 files changed
+6 -5

No files matched your search

@@ -903,9 +903,6 @@ jobs:
timeout 120 bash -c 'while kubectl -n rook-ceph get cephobjectstore my-store; do echo "waiting for objectstore my-store to delete"; sleep 5; done'
kubectl create -f tests/manifests/test-object.yaml
tests/scripts/validate_cluster.sh rgw
# the test is already waiting for the rgw daemon to start, but this is just a hack until we find
# what else we need to wait for
sleep 30
tests/scripts/deploy-validate-vault.sh validate_rgw
- name: collect common logs
+6 -2
View File
@@ -62,8 +62,12 @@ function test_demo_osd {
}
function test_demo_rgw {
# shellcheck disable=SC2046
return $(wait_for_daemon "$EXEC_COMMAND -s | grep -sq 'rgw:'")
timeout 360 bash -x <<-'EOF'
until [[ "$(kubectl -n rook-ceph get pods -l app=rook-ceph-rgw -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}')" == "True" ]]; do
echo "waiting for rgw pods to be ready"
sleep 5
done
EOF
}
function test_demo_mds {