# HG changeset patch # User Laurent Peuch # Date 1576601649 -3600 # Node ID 6a3634515bd57027ae8938b4a44c3e13d9dfa532 # Parent fce106b9977dc4797d4eeedb2fff7231d6684abd [test/ux] add a warning when test from FirefoxHelper timeout diff -r fce106b9977d -r 6a3634515bd5 cubicweb/devtools/qunit.py --- a/cubicweb/devtools/qunit.py Tue Dec 17 17:19:15 2019 +0100 +++ b/cubicweb/devtools/qunit.py Tue Dec 17 17:54:09 2019 +0100 @@ -177,7 +177,10 @@ else: yield test_name, self.fail, (msg, ) except Empty: + # Empty means nothing was appended to test_queue within timeout error = True + print("WARNING: timeout while trying to get the next test result from " + "FirefoxHelper queue, see log file '%s' for more info" % browser.log_file) yield test_file, timeout_failure, (test_file, timeout, test_count) if test_count <= 0 and not error: