uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: jcasgen-maven-plugin integration test timing
Date Tue, 11 Jun 2013 20:17:20 GMT

On 6/11/2013 3:57 PM, Richard Eckart de Castilho wrote:
> The m2e integration test takes *very* long because it materializes a full OSGI runtime
environment on the machine. The downloads take forever.
This seems to download to a local maven repository which is temporarily built in
the target/local-repo area.

I wonder if this could be changed to use the build-machine's .m2 repo, and thus
cache or otherwise avoid downloading things?

-Marshall

> Detailed information about the execution of the integration tests can be found in target/it/<test>/build.log
(or something like that).
>
> I had considered disabling the m2e integration test, but went for leaving it on for the
time being.
>
> -- Richard
>
> Am 11.06.2013 um 21:49 schrieb Marshall Schor <msa@schor.com>:
>
>> The regular tests for this take about 3 seconds on my laptop.
>>
>> The integration tests took a very long time (the 2nd one took about 8 minutes !)
>>
>> [INFO] --- maven-invoker-plugin:1.7:run (integration-test) @
>> jcasgen-maven-plugin ---
>> [INFO] Building: classpath\pom.xml
>> [INFO] ..SUCCESS (23.5 s)
>> [INFO] Building: m2e\pom.xml
>> [INFO] ..SUCCESS (529.5 s)
>> [INFO] Building: multimodule\pom.xml
>> [INFO] ..SUCCESS (13.4 s)
>> [INFO] Building: simple\pom.xml
>> [INFO] ..SUCCESS (9.7 s)
>> [INFO] -------------------------------------------------
>> [INFO] Build Summary:
>> [INFO]   Passed: 4, Failed: 0, Errors: 0, Skipped: 0
>>
>> I ran this again (just in case some initial startup thing was slowing it down)
>> and got similar results:  19.0 s, 576.1 s, 13.6 s, and 8.5 s.
>>
>> Anyone have any idea what is going on, why some of these are running so slowly?
>>
>> It would be good if someone could post a walk through of how the integration tests
>> are setup and how they work.
>>
>> -Marshall
>


Mime
View raw message