feat: Introduced additonal parallelism to the test suite execution#204
feat: Introduced additonal parallelism to the test suite execution#204MatousJobanek wants to merge 3 commits intoarquillian:masterfrom
Conversation
|
So the idea is to merge both PRs right? And thank you.
El 3 oct. 2017 5:02 p. m., "Matous Jobanek" <notifications@github.com>
escribió:
…
- the test-bed build uses Maven parallelism with 50 threads per cpu
core
- the same is used for build invocation on Travis (could be used
locally)
- the Travis is building in three virtual machines at once:
- one for unit tests
- one for functional tests - to separate unit tests and functional
tests I had to introduce two profiles inside of the pom files
- one for generating documentation - no to do it in the previous
builds/vm twice
- speeding up Java startup using properties: -XX:+TieredCompilation
-XX:TieredStopAtLevel=1
Fixes #126 <#126>
------------------------------
You can view, comment on, or merge this pull request online at:
#204
Commit Summary
- feat: Introduced additonal parallelism to the test suite execution
File Changes
- *M* .travis.yml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-0>
(21)
- *M* core/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-1>
(16)
- *M* functional-tests/git-rules/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-2>
(15)
- *M* functional-tests/test-bed/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-3>
(16)
- *M* functional-tests/test-bed/src/main/java/org/arquillian/
smart/testing/ftest/testbed/project/BuildConfigurator.java
<https://github.com/arquillian/smart-testing/pull/204/files#diff-4>
(12)
- *M* functional-tests/test-bed/src/main/java/org/arquillian/
smart/testing/ftest/testbed/project/ProjectBuilder.java
<https://github.com/arquillian/smart-testing/pull/204/files#diff-5>
(1)
- *M* functional-tests/test-bed/src/test/java/org/arquillian/
smart/testing/ftest/configuration/SurefireForksConfigurationTest.java
<https://github.com/arquillian/smart-testing/pull/204/files#diff-6>
(9)
- *M* junit-test-result-parser/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-7>
(15)
- *M* mvn-extension/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-8>
(16)
- *M* strategies/affected/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-9>
(15)
- *M* strategies/changed/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-10>
(15)
- *M* strategies/failed/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-11>
(15)
- *M* surefire-provider/pom.xml
<https://github.com/arquillian/smart-testing/pull/204/files#diff-12>
(16)
Patch Links:
- https://github.com/arquillian/smart-testing/pull/204.patch
- https://github.com/arquillian/smart-testing/pull/204.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#204>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABcmYQtMStoQz0nySDeAV8bWKTtVLLzjks5sokxrgaJpZM4PsRCd>
.
|
|
yup - they are different solutions => separated PRs. |
bartoszmajsak
left a comment
There was a problem hiding this comment.
I am not a huge fan of having multiple profiles - ideally I would prefer to have the same command used everywhere. On the other hand if we gain a lot by splitting execution to 3 parallel builds, even after #203, then let's go with it.
Maybe some brief explanation about why certain profiles exist (in the poms) would help us in the future to remember.
|
Yeah, I'm not a huge fan of profiles either so I completely understand your point/feeling.
|
|
nope, that will execute the whole test suite |
|
This brings an interesting question. How about removing the profiles and configure the failsafe plugin for functional tests? Then it would be possible to run only unit tests using |
52d5817 to
5f9bcfb
Compare
* the test-bed build uses Maven parallelism with 50 threads per cpu core * the same is used for build invocation on Travis (could be used locally) * the Travis is building in three virtual machines at once: * one for unit tests * one for functional tests - to separate unit tests and functional tests I had to introduce two profiles inside of the pom files * one for generating documentation - no to do it in the previous builds/vm twice * speeding up Java startup using properties: -XX:+TieredCompilation -XX:TieredStopAtLevel=1
|
The build times are pretty weird - in my Travis account, the build takes 15:41 but here on arquillian's 19:17 |
That's exactly what was the bottom line of my short question :) |
Could that be that there are other projects under arq organization which had running builds at the same time? Might be that we have resources constraints per organization on Travis. I would simply measure against one of the places - preferably most isolated one - to compare before/after time. |
|
What do we do with this work @MatousJobanek ? |
|
I'll park it for a while and return back to it when I have time |
|
I re-opened and added "on hold" label so we won't miss it. |
Fixes #126