Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix neuralchat nightly ut (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincyZhang authored Dec 11, 2023
1 parent 749fa8f commit 13c0c7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ def setUp(self) -> None:
'--log_file', log_file_path
]
else:
with open("./ci/server/plugin_as_service.yaml", "r+") as file:
content = file.read()
content = content.replace("plugin_as_service", "ci/server/plugin_as_service")
file.seek(0)
file.write(content)
file.truncate()
command = [
'neuralchat_server', 'start',
'--config_file', "./ci/server/plugin_as_service.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setUp(self) -> None:
--config_file ./askdoc.yaml \
--log_file "./neuralchat.log"'
else:
command = 'sed -i "s|askdoc|nightly/server/askdoc|g" ./nightly/server/askdoc.yaml && neuralchat_server start \
command = 'sed -i "s|askdoc|ci/server/askdoc|g" ./nightly/server/askdoc.yaml && neuralchat_server start \
--config_file "./nightly/server/askdoc.yaml" \
--log_file "./neuralchat.log"'
try:
Expand Down

0 comments on commit 13c0c7f

Please sign in to comment.