/ jmeter Public
Parallelised unit tests #350
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge.
JMeterSerialTestinterface for tests which need to be run in sequence not concurrently.
TestFileServerin Spock to use private constructor to get around singleton and make clearer to understand.
Added a test listener to time and log to file time taken for each unit test.
Also refactored/re-formatted some code while investigating parallel test failures.
ant _testtime on a 4 core laptop:
before: 1m 19s
on an 8 core PC:
I'd welcome more testing on different configurations and review.
Motivation and Context
Speed up feedback
How Has This Been Tested?
100 iterations of
ant _teston an 8 core machine
50 iterations of
ant _teston a 4 core machine
Screenshots (if appropriate):
Types of changes