[wildfly-dev] Keep getting directory not exists errors in build
Bill Burke
bburke at redhat.com
Mon Jun 3 12:17:37 EDT 2013
Not anymore. Anything that required mkdir() calls was failing with
java.io directory not found errors.
Again, the 10 millisecond delay fixed the problem.
On 6/3/2013 12:09 PM, Brian Stansberry wrote:
> Do you have test output from the failures?
>
> On 6/3/13 9:08 AM, Bill Burke wrote:
>> 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.
>>
>
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the wildfly-dev
mailing list