In Seam tests we use:
project.refreshLocal(IResource.DEPTH_INFINITE, null);
JobUtils.waitForIdle();
----- Original Message -----
From: "Max Rydahl Andersen" <max.andersen(a)redhat.com>
To: "Rob Stryker" <rob.stryker(a)redhat.com>
Cc: <jbosstools-dev(a)lists.jboss.org>
Sent: Tuesday, March 03, 2009 1:37 PM
Subject: Re: [jbosstools-dev] Request Assistance for Broken Unit Test
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/devstudio-nightly-2....
is the one.
Add a test for .exists() and add the full path to the message so you can
see if it actually checks it the right location.
Since it does not fail all the time I'm though most certain this is a
timing issue.
Alexey - what is it you guys do in the seam test to make sure things have
settled down before asserting ?
/max
>
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-nightly-3...
> doesn't have it failing either - I give up; more info please ;)
>
> /max
>
>> i.e.
>>
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-nightly-3...
>> shows something is wrong with all testsuites since no tests suddenly
>> can't be found.
>>
>> I assume you are looking somewhere else ?
>>
>> /max
>>> Got a link for the failing test on hudson ? Which build ?
>>>
>>> /max
>>>>
https://jira.jboss.org/jira/browse/JBIDE-2296
>>>>
>>>> The unit test is named JBIDE2296Test in the
>>>> org.jboss.ide.eclipse.archives.test plugin.
>>>>
>>>> The test is simple. It just imports a project, lets the eclipse
>>>> framework create the output/eclipse output folder, lets the archives
>>>> builder create the output/dist and output/dist/acme-jmx-connector.sar
>>>> file, and validates that the output folder hasn't magically turned
>>>> into a file instead of a folder.
>>>>
>>>> For some reason it's failing on hudson, but I'm getting a
"works for
>>>> me" status.
>>>>
>>>> Thanks.
>>>>
>>>> - Rob
>>>> _______________________________________________
>>>> jbosstools-dev mailing list
>>>> jbosstools-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev