mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-14 02:08:21 +08:00
Merge branch 'fix/http_async_handler_ci_test_failure' into 'master'
fix(http_server): Fix CI test failure async_handler Closes IDFCI-3119 See merge request espressif/esp-idf!42037
This commit is contained in:
@@ -23,6 +23,10 @@ def test_http_server_async_handler_multiple_long_requests(dut: Dut) -> None:
|
||||
got_ip = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[1].decode()
|
||||
got_port = 80 # Assuming the server is running on port 80
|
||||
logging.info(f'Got IP : {got_ip}')
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect(f"Starting server on port: '{got_port}'", timeout=30)
|
||||
dut.expect('Registering URI handlers', timeout=30)
|
||||
logging.info(f'Connecting to server at {got_ip}:{got_port}')
|
||||
|
||||
# Create two HTTP connections for long requests
|
||||
@@ -74,6 +78,10 @@ def test_http_server_async_handler(dut: Dut) -> None:
|
||||
got_ip = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[1].decode()
|
||||
got_port = 80 # Assuming the server is running on port 80
|
||||
logging.info(f'Got IP : {got_ip}')
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect(f"Starting server on port: '{got_port}'", timeout=30)
|
||||
dut.expect('Registering URI handlers', timeout=30)
|
||||
logging.info(f'Connecting to server at {got_ip}:{got_port}')
|
||||
|
||||
# Create HTTP connection
|
||||
@@ -124,6 +132,10 @@ def test_http_server_async_handler_same_session_sequential(dut: Dut) -> None:
|
||||
got_ip = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[1].decode()
|
||||
got_port = 80 # Assuming the server is running on port 80
|
||||
logging.info(f'Got IP : {got_ip}')
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect('starting async req task worker', timeout=30)
|
||||
dut.expect(f"Starting server on port: '{got_port}'", timeout=30)
|
||||
dut.expect('Registering URI handlers', timeout=30)
|
||||
logging.info(f'Connecting to server at {got_ip}:{got_port}')
|
||||
|
||||
# Create HTTP connection for same session testing
|
||||
|
Reference in New Issue
Block a user