-
I've experimented with parallel builds using mvn -T1C and Tycho 2.7.0. While this does give a significant performance boost, it also introduces some instability: We have a lot of unit tests that do UI testing, e.g. verifying that certain controls have focus / are disabled / etc. These tests become flaky when multiple test processes are executed simultaneously:
Is there a way to have -T1C only affect the dependency resolution/compile/package phases, but keep the test/verifiy/integration-test phases -- or specifically invocations of tycho-surefire-plugin -- linearized? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I think the problem is more that different test-bundles getting executed in parallel correct? That is something Tycho is not really in control of (the only think I could think of would be to add a new option to sync tests that have the UI-Harness), you have some option here:
|
Beta Was this translation helpful? Give feedback.
-
@sratz do you like to try out #739 ? It allows to set |
Beta Was this translation helpful? Give feedback.
@sratz do you like to try out #739 ? It allows to set
<reactorConcurrencyLevel>1</reactorConcurrencyLevel>
then only one integration test should run at a given time. This could potentially slow down the build but should fix the issue you see.