From 07199bd9f1da6ed9fd5371e34f68018f7b6de79c Mon Sep 17 00:00:00 2001 From: huangjianhui <852142024@qq.com> Date: Tue, 4 Jan 2022 22:09:20 +0800 Subject: [PATCH] Update test_fit_a_line.py Kill c++ service when env_check started --- python/paddle_serving_server/env_check/test_fit_a_line.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle_serving_server/env_check/test_fit_a_line.py b/python/paddle_serving_server/env_check/test_fit_a_line.py index ad8c21de..23ebe346 100644 --- a/python/paddle_serving_server/env_check/test_fit_a_line.py +++ b/python/paddle_serving_server/env_check/test_fit_a_line.py @@ -20,12 +20,13 @@ class TestFitALine(object): serving_util.check_model_data_exist() self.get_truth_val_by_inference(self) self.serving_util = serving_util + self.serving_util.release('service') def teardown_method(self): print_log(["stderr.log", "stdout.log", "log/serving.ERROR", "PipelineServingLogs/pipeline.log"], iden="after predict") kill_process(9494) - self.serving_util.release() + self.serving_util.release('service') def get_truth_val_by_inference(self): try: -- GitLab