diff --git a/selftests/all/functional/avocado/basic_tests.py b/selftests/all/functional/avocado/basic_tests.py index 2343636870b04f847d0cc26e2dabbda32501d52a..ffc6f0025b3139d986b246c5e152fd800215da61 100644 --- a/selftests/all/functional/avocado/basic_tests.py +++ b/selftests/all/functional/avocado/basic_tests.py @@ -208,10 +208,10 @@ class RunnerDropinTest(unittest.TestCase): def test_runner_onehundred_fail_timing(self): """ We can be pretty sure that a failtest should return immediattely. Let's - run 100 of them and assure they not take more than 3 seconds to run. + run 100 of them and assure they not take more than 30 seconds to run. - Notice: on a current machine this takes about 0.12s, so 3 second is - pretty safe here. + Notice: on a current machine this takes about 0.12s, so 30 seconds is + considered to be pretty safe here. """ os.chdir(basedir) one_hundred = 'failtest ' * 100 @@ -219,7 +219,7 @@ class RunnerDropinTest(unittest.TestCase): initial_time = time.time() result = process.run(cmd_line, ignore_status=True) actual_time = time.time() - initial_time - self.assertLess(actual_time, 3.0) + self.assertLess(actual_time, 30.0) expected_rc = 1 self.assertEqual(result.exit_status, expected_rc, "Avocado did not return rc %d:\n%s" % (expected_rc, result)) @@ -235,7 +235,7 @@ class RunnerDropinTest(unittest.TestCase): initial_time = time.time() result = process.run(cmd_line, ignore_status=True) actual_time = time.time() - initial_time - self.assertLess(actual_time, 6.0) + self.assertLess(actual_time, 33.0) expected_rc = 1 self.assertEqual(result.exit_status, expected_rc, "Avocado did not return rc %d:\n%s" % (expected_rc, result))