From 7c79e56792570ffd4e0a17071a3ca7513d63baec Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Thu, 7 Mar 2013 14:27:20 -0500 Subject: core: moving over setting of max_messages option to conf.in file. blocks: these timers were actually doing much, so we can speed up the tests. --- gr-blocks/python/qa_pdu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gr-blocks/python') diff --git a/gr-blocks/python/qa_pdu.py b/gr-blocks/python/qa_pdu.py index dc50b7c330..3f7675ce4a 100755 --- a/gr-blocks/python/qa_pdu.py +++ b/gr-blocks/python/qa_pdu.py @@ -51,7 +51,6 @@ class test_pdu(gr_unittest.TestCase): self.assertEqual(pmt.pmt_length(pi), 0) self.assertEqual(pmt.pmt_length(po), 1) - time.sleep(0.1) self.tb.connect(src, snk) self.tb.connect(src, snk2) self.tb.connect(src, snk3) @@ -66,7 +65,7 @@ class test_pdu(gr_unittest.TestCase): src.to_basic_block()._post(port, msg) # eww, what's that smell? while dbg.num_messages() < 1: - time.sleep(0.5) + time.sleep(0.1) self.tb.stop() self.tb.wait() -- cgit v1.2.3