add thread join

test=develop
revert-15207-remove_op_handle_lock_and_fix_var
sneaxiy 7 years ago
parent 6dd623b1e3
commit 26695e0bb2

@ -220,6 +220,8 @@ class TestPyReaderUsingExecutor(unittest.TestCase):
feed_queue.close()
self.validate()
if not use_decorate_paddle_reader:
thread.join()
def validate(self):
self.assertEqual(len(self.inputs), len(self.outputs))

Loading…
Cancel
Save