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 ad8c21de301424586dbec4366357f910d998ba0e..23ebe34695ed993fb6655ab5de64c632e986f6c3 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: