提交 32ee64a5 编写于 作者: F felixhjh

overlap log in env_check

上级 ceb2db8d
...@@ -44,8 +44,9 @@ def mv_log_to_new_dir(dir_path): ...@@ -44,8 +44,9 @@ def mv_log_to_new_dir(dir_path):
serving_log_path = os.environ['SERVING_LOG_PATH'] serving_log_path = os.environ['SERVING_LOG_PATH']
for file_name in log_files: for file_name in log_files:
file_path = os.path.join(serving_log_path, file_name) file_path = os.path.join(serving_log_path, file_name)
dir_path_temp = os.path.join(dir_path, file_name)
if os.path.exists(file_path): if os.path.exists(file_path):
shutil.move(file_path, dir_path) shutil.move(file_path, dir_path_temp)
def run_test_cases(cases_list, case_type, is_open_std): def run_test_cases(cases_list, case_type, is_open_std):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册