@@ -36,7 +36,7 @@ def test_quic_client_server(unused_tcp_port):
3636
3737@pytest .mark .timeout (30 )
3838def test_client_server_with_routing (unused_tcp_port ):
39- pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , str (unused_tcp_port ))
39+ pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , '--port' , str (unused_tcp_port ))
4040
4141 try :
4242 sleep (2 )
@@ -64,7 +64,7 @@ def test_client_java_server_with_routing_and_fragmentation(unused_tcp_port):
6464
6565@pytest .mark .timeout (30 )
6666def test_rx_client_server_with_routing (unused_tcp_port ):
67- pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , str (unused_tcp_port ))
67+ pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , '--port' , str (unused_tcp_port ))
6868
6969 try :
7070 sleep (2 )
@@ -136,7 +136,7 @@ def run_java_class(java_class: str, unused_tcp_port: int):
136136
137137
138138def test_java_client_server (unused_tcp_port ):
139- pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , str (unused_tcp_port ))
139+ pid = os .spawnlp (os .P_NOWAIT , 'python3' , 'python3' , './server_with_routing.py' , '--port' , str (unused_tcp_port ))
140140
141141 try :
142142 sleep (2 )
0 commit comments