From ea9fae40cb4df45682384b506d77d27281e60af3 Mon Sep 17 00:00:00 2001 From: David Caravello <119438707+dcaravel@users.noreply.github.com> Date: Wed, 10 Sep 2025 09:47:06 -0500 Subject: [PATCH] Bump Scanner deploy wait timeouts and fix testcase (#2149) --- .openshift-ci/pre_tests.py | 2 +- e2etests/testcase_test.go | 2 +- scripts/ci/deploy.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.openshift-ci/pre_tests.py b/.openshift-ci/pre_tests.py index 3039fd27f..355003c35 100644 --- a/.openshift-ci/pre_tests.py +++ b/.openshift-ci/pre_tests.py @@ -12,7 +12,7 @@ class Deployer: Deployer - Deploys Scanner and ScannerDB resources and port-forwards the necessary endpoints. """ - DEPLOY_TIMEOUT = 10 * 60 + DEPLOY_TIMEOUT = 20 * 60 def __init__(self, slim=False): self.slim = slim diff --git a/e2etests/testcase_test.go b/e2etests/testcase_test.go index 68aa264be..0c7d4deac 100644 --- a/e2etests/testcase_test.go +++ b/e2etests/testcase_test.go @@ -4028,7 +4028,7 @@ All OpenShift Container Platform 4.10 users are advised to upgrade to these upda Name: "tomcat", VersionFormat: component.JavaSourceType.String(), Version: "9.0.59", - FixedBy: "9.0.107", + FixedBy: "9.0.108", Location: "tomcat-embed-core-9.0.59.jar", Vulnerabilities: []apiV1.Vulnerability{ { diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh index e527d0599..a4e360068 100755 --- a/scripts/ci/deploy.sh +++ b/scripts/ci/deploy.sh @@ -32,7 +32,7 @@ _wait_for_scanner() { kubectl -n stackrox get pod POD="$(kubectl -n stackrox get pod -o jsonpath='{.items[?(@.metadata.labels.app=="scanner")].metadata.name}')" [[ -n "${POD}" ]] - kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=10m + kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=20m kubectl -n stackrox get pod }