mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-24 17:49:42 +08:00
[CI] Fix tests and docs to resolve failure (#6572)
This commit is contained in:
@@ -1540,7 +1540,7 @@ class TestFastDeployBatch(unittest.TestCase):
|
||||
|
||||
def test_completions(self):
|
||||
"""测试正常的批量chat请求"""
|
||||
return_code, contents, proc = self.run_fastdeploy_command(INPUT_BATCH, port="2235")
|
||||
return_code, contents, proc = self.run_fastdeploy_command(INPUT_BATCH, port=str(FD_CACHE_QUEUE_PORT))
|
||||
print(f"进程输出: {return_code}")
|
||||
|
||||
self.assertEqual(return_code, 0, f"进程返回非零码: {return_code}, 进程信息: {proc}")
|
||||
|
||||
Reference in New Issue
Block a user