From 57cd0ea80c94510bdf4ce78c6d2fdbbbfbeb6de4 Mon Sep 17 00:00:00 2001 From: Alessio Pragliola Date: Wed, 23 Oct 2024 23:55:49 +0200 Subject: [PATCH] fix(csi): lowered timeout Signed-off-by: Alessio Pragliola --- csi/test/e2e_test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/csi/test/e2e_test.sh b/csi/test/e2e_test.sh index 76a4b1844..3711caaaf 100755 --- a/csi/test/e2e_test.sh +++ b/csi/test/e2e_test.sh @@ -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 @@ -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