Skip to content

Commit 3cb59ae

Browse files
authored
Merge pull request #2704 from ayush17/RHAIENG-1759
RHAIENG-1759: fix(tests): increase timeout for s390x in Kubernetes port-forward tests
2 parents 5906b21 + f784977 commit 3cb59ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/containers/kubernetes_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,12 @@ def deploy(
267267

268268
self.port = p.get_actual_port()
269269
LOGGER.debug(f"Listening on port {self.port}")
270+
# Use 60s timeout for all architectures to handle slower SSL/TLS negotiation
271+
# especially on s390x and other non-native architectures
270272
Wait.until(
271273
"Connecting to pod succeeds",
272274
1,
273-
30,
275+
60,
274276
lambda: requests.get(f"http://localhost:{self.port}").status_code == 200,
275277
)
276278
LOGGER.debug("Done setting up portforward")

0 commit comments

Comments
 (0)