未验证 提交 d9fe5282 编写于 作者: C Chen Weihang 提交者: GitHub

Adjust sleep time of main process in signal handler test (#22597), test=release/1.7 (#22901)

上级 d734316d
......@@ -49,7 +49,7 @@ class TestDygraphDataLoaderSingalHandler(unittest.TestCase):
test_process.start()
set_child_signal_handler(id(self), test_process.pid)
time.sleep(1)
time.sleep(3)
except core.EnforceNotMet as ex:
self.assertIn("FatalError", cpt.get_exception_message(ex))
exception = ex
......@@ -67,7 +67,7 @@ class TestDygraphDataLoaderSingalHandler(unittest.TestCase):
test_process.start()
set_child_signal_handler(id(self), test_process.pid)
time.sleep(1)
time.sleep(3)
except core.EnforceNotMet as ex:
self.assertIn("FatalError", cpt.get_exception_message(ex))
exception = ex
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册