@@ -23,6 +23,10 @@ def test_http_server_async_handler_multiple_long_requests(dut: Dut) -> None:
2323 got_ip = dut .expect (r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]' , timeout = 30 )[1 ].decode ()
2424 got_port = 80 # Assuming the server is running on port 80
2525 logging .info (f'Got IP : { got_ip } ' )
26+ dut .expect ('starting async req task worker' , timeout = 30 )
27+ dut .expect ('starting async req task worker' , timeout = 30 )
28+ dut .expect (f"Starting server on port: '{ got_port } '" , timeout = 30 )
29+ dut .expect ('Registering URI handlers' , timeout = 30 )
2630 logging .info (f'Connecting to server at { got_ip } :{ got_port } ' )
2731
2832 # Create two HTTP connections for long requests
@@ -74,6 +78,10 @@ def test_http_server_async_handler(dut: Dut) -> None:
7478 got_ip = dut .expect (r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]' , timeout = 30 )[1 ].decode ()
7579 got_port = 80 # Assuming the server is running on port 80
7680 logging .info (f'Got IP : { got_ip } ' )
81+ dut .expect ('starting async req task worker' , timeout = 30 )
82+ dut .expect ('starting async req task worker' , timeout = 30 )
83+ dut .expect (f"Starting server on port: '{ got_port } '" , timeout = 30 )
84+ dut .expect ('Registering URI handlers' , timeout = 30 )
7785 logging .info (f'Connecting to server at { got_ip } :{ got_port } ' )
7886
7987 # Create HTTP connection
@@ -124,6 +132,10 @@ def test_http_server_async_handler_same_session_sequential(dut: Dut) -> None:
124132 got_ip = dut .expect (r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]' , timeout = 30 )[1 ].decode ()
125133 got_port = 80 # Assuming the server is running on port 80
126134 logging .info (f'Got IP : { got_ip } ' )
135+ dut .expect ('starting async req task worker' , timeout = 30 )
136+ dut .expect ('starting async req task worker' , timeout = 30 )
137+ dut .expect (f"Starting server on port: '{ got_port } '" , timeout = 30 )
138+ dut .expect ('Registering URI handlers' , timeout = 30 )
127139 logging .info (f'Connecting to server at { got_ip } :{ got_port } ' )
128140
129141 # Create HTTP connection for same session testing
0 commit comments