提交 c45a4b85 编写于 作者: Y Yancey1989

use sigkill to stop pserver

上级 05b6aa18
...@@ -145,7 +145,7 @@ class TestDistMnist(unittest.TestCase): ...@@ -145,7 +145,7 @@ class TestDistMnist(unittest.TestCase):
retry_times -= 1 retry_times -= 1
def stop_pserver(self, pid): def stop_pserver(self, pid):
os.kill(pid, signal.SIGTERM) os.kill(pid, signal.SIGKILL)
def test_with_place(self): def test_with_place(self):
p = fluid.CUDAPlace(0) if core.is_compiled_with_cuda( p = fluid.CUDAPlace(0) if core.is_compiled_with_cuda(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册