Skip to content

Commit

Permalink
fix(csi): lowered timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Pragliola <[email protected]>
  • Loading branch information
Al-Pragliola committed Oct 23, 2024
1 parent 48b65b4 commit 57cd0ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions csi/test/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ spec:
EOF

# wait for pod predictor to be initialized
repeat_cmd_until "kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector='component=predictor' | wc -l" "-gt 0" 600
repeat_cmd_until "kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector='component=predictor' | wc -l" "-gt 0" 60
predictor_one=$(kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector="component=predictor" --output jsonpath='{.items[0].metadata.name}')

kubectl wait --for=condition=Ready pod/$predictor_one -n $KSERVE_TEST_NAMESPACE --timeout=5m
Expand Down Expand Up @@ -248,9 +248,11 @@ spec:
EOF

# wait for pod predictor to be initialized
repeat_cmd_until "kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector='component=predictor' --output jsonpath='{.items[*].metadata.name}' | grep sklearn-iris-test-predictor | wc -l" "-gt 0" 600
repeat_cmd_until "kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector='component=predictor' --output jsonpath='{.items[*].metadata.name}' | grep sklearn-iris-test-predictor | wc -l" "-gt 0" 60
predictor_two=$(kubectl get pod -n $KSERVE_TEST_NAMESPACE --selector="component=predictor" --output jsonpath='{.items[1].metadata.name}')

k describe pod $predictor_two -n $KSERVE_TEST_NAMESPACE

kubectl wait --for=condition=Ready pod/$predictor_two -n $KSERVE_TEST_NAMESPACE --timeout=5m

kubectl wait --for=jsonpath='{.status.url}' inferenceservice/sklearn-iris-test -n $KSERVE_TEST_NAMESPACE --timeout=5m
Expand Down

0 comments on commit 57cd0ea

Please sign in to comment.