diff options
Diffstat (limited to 'gr-blocks/python/blocks/qa_python_message_passing.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_python_message_passing.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gr-blocks/python/blocks/qa_python_message_passing.py b/gr-blocks/python/blocks/qa_python_message_passing.py index 49e2e5e481..f9baff45db 100644 --- a/gr-blocks/python/blocks/qa_python_message_passing.py +++ b/gr-blocks/python/blocks/qa_python_message_passing.py @@ -103,13 +103,7 @@ class test_python_message_passing(gr_unittest.TestCase): self.assertEqual('in_port' in pmt.to_python(msg_cons.message_ports_in()), True) # Run to verify message passing - self.tb.start() - - # Wait for all messages to be sent - while msg_gen.msg_ctr < num_msgs: - time.sleep(0.5) - self.tb.stop() - self.tb.wait() + self.tb.run() # Verify that the message consumer got all the messages self.assertEqual(num_msgs, len(msg_cons.msg_list)) |