@@ -36,8 +36,7 @@ def test_simple(tmp_path):
36
36
def run_server ():
37
37
nonlocal process
38
38
try :
39
- process = subprocess .Popen (run_command , stdout = subprocess .PIPE , stderr = subprocess .PIPE , text = True )
40
- stdout , stderr = process .communicate (timeout = 60 )
39
+ process = subprocess .Popen (run_command , text = True )
41
40
except subprocess .TimeoutExpired :
42
41
print ("Server start-up timeout expired" )
43
42
@@ -87,8 +86,7 @@ def test_quantize(tmp_path):
87
86
def run_server ():
88
87
nonlocal process
89
88
try :
90
- process = subprocess .Popen (run_command , stdout = subprocess .PIPE , stderr = subprocess .PIPE , text = True )
91
- stdout , stderr = process .communicate (timeout = 10 )
89
+ process = subprocess .Popen (run_command , text = True )
92
90
except subprocess .TimeoutExpired :
93
91
print ("Server start-up timeout expired" )
94
92
@@ -137,8 +135,7 @@ def test_multi_gpu_serve(tmp_path):
137
135
def run_server ():
138
136
nonlocal process
139
137
try :
140
- process = subprocess .Popen (run_command , stdout = subprocess .PIPE , stderr = subprocess .PIPE , text = True )
141
- stdout , stderr = process .communicate (timeout = 10 )
138
+ process = subprocess .Popen (run_command , text = True )
142
139
except subprocess .TimeoutExpired :
143
140
print ("Server start-up timeout expired" )
144
141
0 commit comments