[jbosstools-dev] hibernate tools fails to find tests...no idea why ; /
Snjezana Peco
snjezana.peco at redhat.com
Mon Sep 15 14:35:19 EDT 2014
On 9/15/2014 9:03 AM, Max Rydahl Andersen wrote:
> On 9 Sep 2014, at 9:37, Snjezana Peco wrote:
>
>> Hibernate tests can't remove all projects on Windows and Linux NFS
>> file system.
>
> Are you meaning this is specific for hibernate tests or just in general ?
>
Yes. There is an old classloader lock issue in Hibernate Tools that
happens on Windows and Linux NFS.
I think it was fixed in the way that a user had to interfere in order to
unlock jars.
This issue can be easier solved in JDK 7.
However, it mustn't affect tests. They should start in a new empty
workspace.
> I've seen on and off issues with the big testsuite in hibernate tools
> added a while back by dgeraskov and co. where it will only run to
> completions on linux filesystem. Does sound like there is some bad
> file locking going on we need to look at....but why a workspace should
> be able to trigger this seems weird to me ;/
>
Agree. There is probably a bug in tycho tests.
It is difficult to determine anything more precisely because it can't be
easily reproduced.
Maybe we should create a bug and check more carefuly the next time it
happens.
Snjeza
>> However, they can be removed when starting a new build.
>
>
>>
>> Snjeza
>>
>> On 9/9/2014 7:10 AM, Mickael Istria wrote:
>>> On 09/08/2014 08:54 PM, Snjezana Peco wrote:
>>>> I am not sure, but suppose tycho surefire doesn't remove the
>>>> workspace completely.
>>> I think it's something else. As part of the "clean" step of Maven,
>>> the whole "target" folder is deleted, surefire workspace being part
>>> of it,
>>> Maybe Hibernate tests have created some symlinks or some files with
>>> a different user in the workspace that couldn't be deleted...
>>>
>>> --
>>> Mickael Istria
>>> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
>>> My blog <http://mickaelistria.wordpress.com> - My Tweets
>>> <http://twitter.com/mickaelistria>
>>>
>>>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
>
> /max
> http://about.me/maxandersen
More information about the jbosstools-dev
mailing list