[ 
https://issues.apache.org/jira/browse/VFS-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750499#comment-17750499
 ] 

Woonsan Ko commented on VFS-841:
--------------------------------

Hi [~ggregory],

I got these locally:
{quote}
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   
AbstractSftpProviderTestCase$SftpProviderTestSuite>AbstractTestSuite.run:239->AbstractTestSuite.lambda$run$0:234->setUp:241->AbstractTestSuite.setUp:268
 ? FileSystem Could not connect to SFTP server at 
"sftp://testtest@localhost:56232/";.
[ERROR]   
SftpPermissionExceptionTestCase$1>AbstractTestSuite.run:239->AbstractTestSuite.lambda$run$0:234->AbstractSftpProviderTestCase$SftpProviderTestSuite.setUp:241->AbstractTestSuite.setUp:268
 ? FileSystem Could not connect to SFTP server at 
"sftp://testtest@localhost:56232/";.
[ERROR]   
SftpProviderClosedExecChannelTestCase$1>AbstractTestSuite.run:239->AbstractTestSuite.lambda$run$0:234->AbstractSftpProviderTestCase$SftpProviderTestSuite.setUp:241->AbstractTestSuite.setUp:268
 ? FileSystem Could not connect to SFTP server at 
"sftp://testtest@localhost:56232/";.
[ERROR]   
SftpProviderStreamProxyModeTestCase$1>AbstractTestSuite.run:239->AbstractTestSuite.lambda$run$0:234->AbstractSftpProviderTestCase$SftpProviderTestSuite.setUp:241->AbstractTestSuite.setUp:268
 ? FileSystem Could not connect to SFTP server at 
"sftp://testtest@localhost:56232/";.
[ERROR]   
SftpPutChannelTestCase$1>AbstractTestSuite.run:239->AbstractTestSuite.lambda$run$0:234->AbstractSftpProviderTestCase$SftpProviderTestSuite.setUp:241->AbstractTestSuite.setUp:268
 ? FileSystem Could not connect to SFTP server at 
"sftp://testtest@localhost:56232/";.
[INFO]
[ERROR] Tests run: 3073, Failures: 0, Errors: 5, Skipped: 8
{quote}
It doesn't seem related to my changes, and I couldn't find any info in 
BUILDING.txt. So I ended up building inside the commons-vfs2-jackrabbit2 module.
Any suggestion?

> Copy the Main class for testing with Jackrabbit Standalone Components instead 
> of inheriting
> -------------------------------------------------------------------------------------------
>
>                 Key: VFS-841
>                 URL: https://issues.apache.org/jira/browse/VFS-841
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Woonsan Ko
>            Priority: Major
>
> As of VFS-686, the VFS2 over webdav module depends on the specific Main class 
> of Jackrabbit standalone components.
> However, the Main class is not supposed to be inherited from or reused in 
> external projects. Jackrabbit projects has adopted the OSGi bundle API 
> compatibility policy, instead of pure Java level binary API compatibility.
> Therefore, we'd better copy the Main class in the test cases instead of 
> inheriting what's not supposed be exposed. See comments in JCR-4957 for 
> detail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to