summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-01-06 21:27:19 +0100
committerMarcus Müller <marcus@hostalia.de>2020-01-06 23:35:50 +0100
commitff650cb6f996795af747fc8a0a3fe894fe14f94f (patch)
tree129f18baac2c82009ba4af7f6e1cf441bac8ae03 /gnuradio-runtime/python/gnuradio
parentbc0592b643a15ed9a6b7719de54e9983c639f082 (diff)
Exception Handling QA: increase wait time to ensure error could've occured
Prior to this, the unit test was flaky, especially when running the test suite concurrently, as test setup could take more than 0.5 s.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio')
-rw-r--r--gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py b/gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py
index a098d78684..a69eea9fe3 100644
--- a/gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py
+++ b/gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py
@@ -74,7 +74,7 @@ class test_uncaught_exception(gr_unittest.TestCase):
p = Process(target=process_func, args=(False,))
p.daemon = True
p.start()
- p.join(0.5)
+ p.join(2.5)
exit_code = p.exitcode
self.assertIsNotNone(
exit_code, "exception did not cause flowgraph exit")
@@ -85,7 +85,7 @@ class test_uncaught_exception(gr_unittest.TestCase):
p = Process(target=process_func, args=(True,))
p.daemon = True
p.start()
- p.join(0.5)
+ p.join(2.5)
exit_code = p.exitcode
self.assertIsNone(
exit_code, "exception caused flowgraph exit")