Skip to content

Commit

Permalink
test: try Ping cluster (#726)
Browse files Browse the repository at this point in the history
* try Ping cluster

Signed-off-by: Shubham Gupta <[email protected]>

* use script

Signed-off-by: Shubham Gupta <[email protected]>

* PONG

Signed-off-by: Shubham Gupta <[email protected]>

* ping cluster

Signed-off-by: Shubham Gupta <[email protected]>

* remove

Signed-off-by: Shubham Gupta <[email protected]>

* try spacing

Signed-off-by: Shubham Gupta <[email protected]>

* pong

Signed-off-by: Shubham Gupta <[email protected]>

* fix quote

Signed-off-by: Shubham Gupta <[email protected]>

---------

Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk authored Dec 13, 2023
1 parent 1e22658 commit 48b515b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,11 @@ spec:
- assert:
file: ready-svc.yaml
- assert:
file: ready-pvc.yaml
file: ready-pvc.yaml
- name: Ping Cluster
try:
- script:
content: |
kubectl exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-leader redis-cluster-v1beta2-leader-0 -- redis-cli -c -p 6379 ping
check:
($stdout=='PONG'): true

0 comments on commit 48b515b

Please sign in to comment.