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
This commit is contained in:
hrushikesh.bhosale
2025-12-30 13:39:25 +05:30
parent ac7dabaf5a
commit 10dc80529a
@@ -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: