karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Problems running itests on windows in eclipse
Date Wed, 19 Sep 2012 12:22:47 GMT
But isn't an iTest (as Integration Test) since it does alter the test setup ...

2012/9/19 Christian Schneider <chris@die-schneider.net>:
> How about doing the same as for a karaf instance. We could share system and
> lib for all tests. That should make the space needed for each instance much
> smaller.
>
> Christian
>
> Am 19.09.2012 13:38, schrieb Jean-Baptiste Onofré:
>
>> Maybe introducing an annotation (@Inject or so) on the method to reuse an
>> existing bootstrap dir could be interesting.
>>
>> Regards
>> JB
>>
>> On 09/19/2012 01:22 PM, Christian Schneider wrote:
>>>
>>> I now got the itests running. The key is to delete the target dir before
>>> the test.
>>> After I ran one test class the target dir had 80 MB. I think the reason
>>> why it now worked is that windows can cope with this size.
>>>
>>> Still I think it does not make sense that we create a complete karaf dir
>>> for each test method and then even keep the data after the test.
>>> Can´t we optimize this in some way?
>>>
>>> Christian
>>>
>>> Am 19.09.2012 13:07, schrieb Christian Schneider:
>>>>
>>>> I saw some failures in the itests on trunk when running from maven. So
>>>> I tried to import the project into eclipse and run the tests from
>>>> there to debug into them.
>>>>
>>>> The problem is that the tests do not even seem to fully start on
>>>> eclipse. They seem to hang inside:
>>>> org.ops4j.pax.exam.spi.intern.TestProbeBuilderImpl.selectCollector(File)
>>>>
>>>> I then found that the itests/target dir is about 2GB big. As far as I
>>>> could debug it seems that the tests do not fully hang and instead seem
>>>> to go through each of those many files and so never seem to start.
>>>>
>>>> So the questions are:
>>>> Does anyone alse see this behaviour?
>>>> Can we change this so the tests take less file space? On windows it
>>>> takes even several minutes to just delete the target dir after the
>>>> tests.
>>>>
>>>> Christian
>>>>
>>>
>>>
>>
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

Mime
View raw message