test: wait for rgw to stabilize before checking vault token

The rgw may take a few seconds to stabilize before
the token can be checked in the rgw pod. Wait a few
seconds for test stability

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit bdbf5bc929)
This commit is contained in:
Travis Nielsen authored and Mergify committed 2023-02-23 16:51:02 +00:00
1 parent e75d845014
commit 383ab899fe
1 file changed
+3
@@ -948,6 +948,9 @@ 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