X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Frun_tests.py;h=d5bdfc838df00dfca88ebc9175ae92a5273d6baa;hb=4d084079cd9ec79578f616c965ca11d5c2e410c3;hp=66118ca6f41faddf5f2cd221fc9415c565174db9;hpb=a3b7c554c669afc627f9a1e32666211bb6fb6b25;p=vpp.git diff --git a/test/run_tests.py b/test/run_tests.py index 66118ca6f41..d5bdfc838df 100644 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -485,14 +485,13 @@ def run_forked(testcase_suites): wrapped_testcase_suites.add(new_testcase) total_test_runners = total_test_runners + 1 unread_testcases.add(new_testcase) - else: - if solo_testcase_suites and total_test_runners == 0: - a_testcase = solo_testcase_suites.pop(0) - new_testcase = TestCaseWrapper(a_testcase, - manager) - wrapped_testcase_suites.add(new_testcase) - total_test_runners = total_test_runners + 1 - unread_testcases.add(new_testcase) + if solo_testcase_suites and total_test_runners == 0: + a_testcase = solo_testcase_suites.pop(0) + new_testcase = TestCaseWrapper(a_testcase, + manager) + wrapped_testcase_suites.add(new_testcase) + total_test_runners = total_test_runners + 1 + unread_testcases.add(new_testcase) time.sleep(0.1) except Exception: for wrapped_testcase_suite in wrapped_testcase_suites: