|
Re: Avoid full workspace refresh during JUnit tests [message #1059772 is a reply to message #1059656] |
Tue, 21 May 2013 14:39 |
|
On 05/21/2013 02:49 PM, Christian Priebe wrote:
> Hi,
>
> we have a multi-project Eclipse RCP application which gets built on our
> Jenkins server. There are several test fragments, each containing the
> corresponding unit tests and a JUnit launch configuration.
>
> On Jenkins the JUnit Buckminster task gets called for every launch
> configuration we have, like this:
>
> junit -l com.example.p1.test/allTests.launch -o
> ${WORKSPACE}/testReport-p1.xml --stdout --stderr
> junit -l com.example.p2.test/allTests.launch -o
> ${WORKSPACE}/testReport-p2.xml --stdout --stderr
> junit -l com.example.p3.test/allTests.launch -o
> ${WORKSPACE}/testReport-p3.xml --stdout --stderr
>
> Unfortunately Buckminster does a full workspace refresh after the
> execution of each junit task:
>
> ..
> Doing full workspace refresh
> Waiting for jobs to end
> ..
>
>
> Since there are about ~10 test fragments and Buckminster does a full
> workspace refresh for each one of those the overall Jenkins job takes a
> lot of time.
>
> Is there a way to change this behaviour and avoid those workspace
> refreshs? I guess it has something to do with the workspace
> configuration!? Can anybody give me a hint on how to change this?
I had just noted this issue too; could that be the reason of
http://www.eclipse.org/forums/index.php/t/457638/ ?
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
|
Powered by
FUDForum. Page generated in 0.03069 seconds