Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/containers/kubernetes_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,14 @@ def deploy(

self.port = p.get_actual_port()
LOGGER.debug(f"Listening on port {self.port}")
# Increase timeout for s390x architecture due to slower SSL/TLS negotiation
# Check image name for s390x since tests run on x86_64 runners with emulated/cross-compiled s390x images
is_s390x = "s390x" in self.image.lower()
connection_timeout = 60 if is_s390x else 30
Wait.until(
"Connecting to pod succeeds",
1,
30,
connection_timeout,
lambda: requests.get(f"http://localhost:{self.port}").status_code == 200,
)
LOGGER.debug("Done setting up portforward")
Expand Down
Loading