提交 26695e0b 编写于 作者: S sneaxiy

add thread join

test=develop
上级 6dd623b1
...@@ -220,6 +220,8 @@ class TestPyReaderUsingExecutor(unittest.TestCase): ...@@ -220,6 +220,8 @@ class TestPyReaderUsingExecutor(unittest.TestCase):
feed_queue.close() feed_queue.close()
self.validate() self.validate()
if not use_decorate_paddle_reader:
thread.join()
def validate(self): def validate(self):
self.assertEqual(len(self.inputs), len(self.outputs)) self.assertEqual(len(self.inputs), len(self.outputs))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册