Skip to content

Commit 441b35b

Browse files
authored
Bump Scanner deploy wait timeouts and fix testcase (#2149) - 2.37/4.8 (#2159)
1 parent d6efd80 commit 441b35b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.openshift-ci/pre_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Deployer:
1212
Deployer - Deploys Scanner and ScannerDB resources and port-forwards the necessary endpoints.
1313
"""
1414

15-
DEPLOY_TIMEOUT = 10 * 60
15+
DEPLOY_TIMEOUT = 20 * 60
1616

1717
def __init__(self, slim=False):
1818
self.slim = slim

e2etests/testcase_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4028,7 +4028,7 @@ All OpenShift Container Platform 4.10 users are advised to upgrade to these upda
40284028
Name: "tomcat",
40294029
VersionFormat: component.JavaSourceType.String(),
40304030
Version: "9.0.59",
4031-
FixedBy: "9.0.107",
4031+
FixedBy: "9.0.108",
40324032
Location: "tomcat-embed-core-9.0.59.jar",
40334033
Vulnerabilities: []apiV1.Vulnerability{
40344034
{

scripts/ci/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ _wait_for_scanner() {
3232
kubectl -n stackrox get pod
3333
POD="$(kubectl -n stackrox get pod -o jsonpath='{.items[?(@.metadata.labels.app=="scanner")].metadata.name}')"
3434
[[ -n "${POD}" ]]
35-
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=10m
35+
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=20m
3636
kubectl -n stackrox get pod
3737
}
3838

0 commit comments

Comments
 (0)