From 9af0334620b3668c48046e721c517da3b2b9edfd Mon Sep 17 00:00:00 2001 From: "yi.wu" Date: Thu, 14 Jun 2018 16:06:47 +0800 Subject: [PATCH] add a ctest hung tool --- python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py b/python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py index d1d709551..86f18731f 100644 --- a/python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py +++ b/python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py @@ -92,6 +92,7 @@ class TestListenAndServOp(OpTest): pid = self._start_pserver(False, True) self._wait_ps_ready(pid) + print("send kill signal, ", pid) # raise SIGTERM to pserver os.kill(pid, signal.SIGTERM) @@ -99,6 +100,7 @@ class TestListenAndServOp(OpTest): pid = self._start_pserver(False, False) self._wait_ps_ready(pid) + print("send kill signal, ", pid) # raise SIGTERM to pserver os.kill(pid, signal.SIGTERM) -- GitLab