Bernd Eckenfels created VFS-561:
-----------------------------------

             Summary: [ftp][tests]Cannot delete directory on Windows FTPServer
                 Key: VFS-561
                 URL: https://issues.apache.org/jira/browse/VFS-561
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: Using CoreFTP on Windows 7 (x64, german). Maven 3.2.5, 
Java 7u76
            Reporter: Bernd Eckenfels
            Priority: Minor


While running the test suite with external FTP Server (using the Coreftpd.com 
product) the test suite has 3 errors, all of them while deleting directories in 
the write-data hierachy.

I am not sure if this is caused by parallel concurrent logins, by not using CWD 
properly, if it is a netlib bug or a test problem. I asume it is related to the 
directory beeing locked (by usage or content)

{code}Tests run: 77, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 10.251 
sec <<< FAILURE! - in 
org.apache.commons.vfs2.provider.ftp.test.FtpProviderTestCase
testDelete(org.apache.commons.vfs2.test.ProviderWriteTests)  Time elapsed: 
0.209 sec  <<< ERROR!
org.apache.commons.vfs2.FileSystemException: Could not delete 
"ftp://test:***@localhost/test-classes/test-data/write-tests/dir1";.
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:553)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:496)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.deleteAll(AbstractFileObject.java:516)
        at 
org.apache.commons.vfs2.test.ProviderWriteTests.testDelete(ProviderWriteTests.java:252)
...
Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete FTP 
file "ftp://test:***@localhost/test-classes/test-data/write-tests/dir1";.
        at 
org.apache.commons.vfs2.provider.ftp.FtpFileObject.doDelete(FtpFileObject.java:493)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:542)
        ... 27 more{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to