Skip to content

Commit

Permalink
Add wait for WeaviateCluster in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrancoa committed Aug 30, 2024
1 parent 231b738 commit a5ed61b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Install CR
run: kubectl apply -f config/samples/apps_v1alpha1_weaviatecluster.yaml -n weaviate

- name: Wait for WeaviateCluster to be Initialized
run:
kubectl wait weaviatecluster/weaviatecluster-sample -n weaviate --for condition=Initialized --timeout=300s;

- name: Wait for Pods to be Ready
run: |
kubectl wait sts/weaviate -n weaviate --for jsonpath='{.status.readyReplicas}'=3 --timeout=300s
Expand Down

0 comments on commit a5ed61b

Please sign in to comment.