提交 8c87e0df 编写于 作者: F felixhjh

add del os.environ

上级 f5a07f20
......@@ -53,7 +53,7 @@ def run_test_cases(cases_list, case_type, is_open_std):
print("{} {} environment running failure, if you need this environment, please refer to https://github.com/PaddlePaddle/Serving/blob/develop/doc/Install_CN.md".format(case_type, case_name))
def unset_env(key):
os.unsetenv(key)
del os.environ[key]
def check_env(mode):
......
......@@ -25,7 +25,7 @@ class TestUCIPipeline(object):
def teardown_method(self):
print_log(["stderr.log", "stdout.log",
"PipelineServingLogs/pipeline.log"], iden="after predict")
"PipelineServingLogs/pipeline.log"])
kill_process(9998)
kill_process(18082)
self.serving_util.release('web_service')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册