Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8s - Cassandra - Await nodes to be ready to test application #2470

Merged
merged 16 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
972d86d
Docker - Prometheus Operator - Bump version to 0.67 and fix vulnerabi…
armandomiani Aug 1, 2023
8c79342
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Aug 1, 2023
f8e8776
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Aug 7, 2023
1774bbc
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Aug 24, 2023
c17b6a5
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Aug 29, 2023
025c399
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Aug 31, 2023
9388502
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 5, 2023
4c1717a
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 6, 2023
b20d828
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 20, 2023
3767daf
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 22, 2023
ce6b49f
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 26, 2023
f354760
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 26, 2023
a2010a7
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Sep 27, 2023
da36d1b
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Oct 2, 2023
0a6569d
Merge branch 'master' of github.com:GoogleCloudPlatform/click-to-deploy
armandomiani Oct 3, 2023
318e710
K8s - Cassandra - Await nodes to be ready to test application
armandomiani Oct 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions k8s/cassandra/apptest/tester/tests/basic-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ actions:

- name: There are exactly 3 nodes in a cluster
bashTest:
script: |-
kubectl get sts "${APP_INSTANCE_NAME}-cassandra" \
--namespace "${NAMESPACE}" \
--output jsonpath="{.spec.replicas}"
script: |
timeout 300 bash -c '
until (kubectl get sts "${APP_INSTANCE_NAME}-cassandra" \
--namespace "${NAMESPACE}" \
--output jsonpath="{.spec.replicas}" | grep -P "^3$");
do sleep 60;
done'
expect:
stdout:
equals: '3'
Expand All @@ -29,10 +32,13 @@ actions:

- name: Cluster is connected
bashTest:
script: |-
script: |
set -e
kubectl exec "${APP_INSTANCE_NAME}-cassandra-0" -- nodetool -h ::FFFF:127.0.0.1 status | \
grep "^UN" -c
timeout 300 bash -c '
until (kubectl exec "${APP_INSTANCE_NAME}-cassandra-0" -- nodetool -h ::FFFF:127.0.0.1 status \
| grep "^UN" -c | grep -P "^3$");
do sleep 60;
done'
expect:
stdout:
equals: '3'
Expand Down
Loading