From 10dc80529a3bdac22406ad1e04dcb07808aee87f Mon Sep 17 00:00:00 2001 From: "hrushikesh.bhosale" Date: Tue, 30 Dec 2025 13:39:25 +0530 Subject: [PATCH] fix(http2_request): Fixed the CI failures of http2_request example pytest There are some failures in the CI for the example pytest due to timeout issue --- examples/protocols/http2_request/pytest_http2_request.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/protocols/http2_request/pytest_http2_request.py b/examples/protocols/http2_request/pytest_http2_request.py index ab508aa95c..b27e0cef7a 100644 --- a/examples/protocols/http2_request/pytest_http2_request.py +++ b/examples/protocols/http2_request/pytest_http2_request.py @@ -1,8 +1,7 @@ #!/usr/bin/env python # -# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD +# SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Apache-2.0 - import http.client import logging import os @@ -48,8 +47,8 @@ def test_examples_protocol_http2_request(dut: Dut) -> None: # Skip the test if the server test server (http2.github.io) is not available at the moment. if test_server_available: logging.info('test server \"{}\" is available'.format(TEST_SERVER)) - # check for connection - dut.expect('Connection done', timeout=30) + dut.expect('Connected to example_netif_eth', timeout=60) # Network setup + dut.expect('Connection done', timeout=60) # HTTP2 connection # check for get response dut.expect('Frame fully received') else: