diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-03-15 19:16:50 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-18 14:08:34 +0000 |
commit | c0692a4496c64c15164ef2d49b0555cbe7f1a2f6 (patch) | |
tree | 12ddab7d49bd104926c90afd5e9e09999e2ab822 /test/run_tests.py | |
parent | b5f15bddc5dced2df811f5e6b9a0dc396f6ff6cd (diff) |
tests: Speedup tests by 30%.
Baseline:
2598325153 function calls (2598296959 primitive calls) in 2257.698 seconds
Post-changeset:
1495427 function calls (1467233 primitive calls) in 1572.080 seconds
Change-Id: I191b68b29c9e0f19964bf0b8879ddf357c9cbd5c
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/run_tests.py')
-rw-r--r-- | test/run_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run_tests.py b/test/run_tests.py index 6ceb0af958e..0c3b3f11299 100644 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -441,6 +441,7 @@ def run_forked(testcase_suites): manager) wrapped_testcase_suites.add(new_testcase) unread_testcases.add(new_testcase) + time.sleep(0.1) except Exception: for wrapped_testcase_suite in wrapped_testcase_suites: wrapped_testcase_suite.child.terminate() |