[wildfly-dev] Keep getting directory not exists errors in build
Bill Burke
bburke at redhat.com
Mon Jun 3 12:24:02 EDT 2013
What would be the final solution? Loop until the directory exists? :)
I don't think so... Gotta be a delay.
On 6/3/2013 12:15 PM, Aleksandar Kostadinov wrote:
> I hope this would not be the final solution. Otherwise next time we
> start testing on some poor machine in the cloud we may start seeing
> transient failures.
>
> Bill Burke wrote, On 06/03/2013 05:08 PM (EEST):
>> I'm getting random "Home directory does not exist" errors when building
>> the core-model-tests. The thing is, its random. 4-5 times it fails,
>> 1-5 times it succeeds.
>>
>> So, I put a 10 millisecond delay after any mkdir() call in
>> TestModelControllerService and it seemed to solve the problem. Dont'
>> know if its my machine, Windblows or what. Maybe just a race condition
>> between JVM and the OS's file controller.
>>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the wildfly-dev
mailing list