From ff650cb6f996795af747fc8a0a3fe894fe14f94f Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Mon, 6 Jan 2020 21:27:19 +0100 Subject: 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. --- gnuradio-runtime/python/gnuradio/gr/qa_uncaught_exception.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-runtime/python') 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") -- cgit v1.2.3