mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user