提交 9af03346 编写于 作者: Y yi.wu

add a ctest hung tool

上级 d07d9535
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册