Hi Senaka,

Seems like this issue is still there. Surefire reports are attached
herewith.

Thanks,
Thilina

On Tue, Jan 3, 2012 at 4:52 PM, Senaka Fernando <[email protected]> wrote:

> Hi Thilina,
>
> It seems that this is due to some of the methods not using the Commons IO
> APIs. I fixed these. Please do try and let us know whether it works.
>
> Thanks,
> Senaka.
>
>
> On Tue, Jan 3, 2012 at 2:46 PM, Hiranya Jayathilaka <[email protected]>wrote:
>
>>
>>
>> On Tue, Jan 3, 2012 at 2:39 PM, Senaka Fernando <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> These seem to be issues in the way the tests are written. The same might
>>> not happen when running check-in client, but we need to investigate.
>>>
>>> Its a known Windows issue that file deletes don't work while the process
>>> is currently running. So, there is no possible way of validating whether
>>> the file was deleted unless the process is shutdown. So, may be we can
>>> exclude those checks for Windows operating systems. WDYT?
>>>
>>
>> You can delete files on Windows. In ESB we have resolved such issues
>> using Commons-IO and the Java FileChannel API.
>>
>> Thanks,
>> Hiranya
>>
>>
>>>
>>> Thanks,
>>> Senaka.
>>>
>>> On Tue, Jan 3, 2012 at 1:31 PM, Thilina Buddhika <[email protected]>wrote:
>>>
>>>> Please see the attached surefire-report.
>>>>
>>>> Thanks,
>>>> Thilina
>>>>
>>>> --
>>>> Thilina Buddhika
>>>> Associate Technical Lead
>>>> WSO2 Inc. ; http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> phone : +94 77 44 88 727
>>>> blog : http://blog.thilinamb.com
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Product Manager - WSO2 Governance Registry;
>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com
>>> *
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Hiranya Jayathilaka
>> Associate Technical Lead;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: [email protected];  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
-------------------------------------------------------------------------------
Test set: org.wso2.registry.checkin.BasicTest
-------------------------------------------------------------------------------
Tests run: 14, Failures: 3, Errors: 2, Skipped: 0, Time elapsed: 11.212 sec <<< 
FAILURE!
testDeleteResources(org.wso2.registry.checkin.BasicTest)  Time elapsed: 0.19 
sec  <<< FAILURE!
junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertFalse(Assert.java:34)
        at junit.framework.Assert.assertFalse(Assert.java:41)
        at 
org.wso2.registry.checkin.BasicTest.testDeleteResources(BasicTest.java:600)

testDeleteCollections(org.wso2.registry.checkin.BasicTest)  Time elapsed: 0.118 
sec  <<< ERROR!
org.wso2.carbon.registry.synchronization.SynchronizationException: message 
code: ERROR_CREATING_META_FILE, parameters: {file: target/myco\lamblabm\.meta
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.checkOutRecursively(CheckOutCommand.java:416)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.checkOutRecursively(CheckOutCommand.java:493)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.dumpToFileSystem(CheckOutCommand.java:273)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.execute(CheckOutCommand.java:157)
        at org.wso2.registry.checkin.Checkout.execute(Checkout.java:68)
        at 
org.wso2.registry.checkin.BasicTest.testDeleteCollections(BasicTest.java:665)

testUpdateWithoutUrlOption(org.wso2.registry.checkin.BasicTest)  Time elapsed: 
0.114 sec  <<< ERROR!
org.wso2.carbon.registry.synchronization.SynchronizationException: message 
code: ERROR_CREATING_META_FILE, parameters: {file: target/myco\lamblabm\.meta
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.checkOutRecursively(CheckOutCommand.java:416)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.checkOutRecursively(CheckOutCommand.java:493)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.dumpToFileSystem(CheckOutCommand.java:273)
        at 
org.wso2.carbon.registry.synchronization.operation.CheckOutCommand.execute(CheckOutCommand.java:157)
        at org.wso2.registry.checkin.Checkout.execute(Checkout.java:68)
        at 
org.wso2.registry.checkin.BasicTest.testUpdateWithoutUrlOption(BasicTest.java:767)

testOnlyOneFileDeleteCi(org.wso2.registry.checkin.BasicTest)  Time elapsed: 
0.083 sec  <<< FAILURE!
junit.framework.AssertionFailedError: deleted file should not exist
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertFalse(Assert.java:34)
        at 
org.wso2.registry.checkin.BasicTest.testOnlyOneFileDeleteCi(BasicTest.java:1089)

testDeleteLocally(org.wso2.registry.checkin.BasicTest)  Time elapsed: 0.088 sec 
 <<< FAILURE!
junit.framework.AssertionFailedError: deleted file should not be updated
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertFalse(Assert.java:34)
        at 
org.wso2.registry.checkin.BasicTest.testDeleteLocally(BasicTest.java:1145)

_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to