jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Launay (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-2326) some jcr-client tests fail if a server runs on localhost:80
Date Fri, 04 Dec 2009 13:38:20 GMT

    [ https://issues.apache.org/jira/browse/JCR-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785924#action_12785924
] 

Sébastien Launay commented on JCR-2326:
---------------------------------------

Since 2.0-beta3 i have the following test case which fails:
Test set: org.apache.jackrabbit.client.RepositoryFactoryImplTest
-------------------------------------------------------------------------------
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.253 sec <<< FAILURE!
testGetSpi2davexRepository(org.apache.jackrabbit.client.RepositoryFactoryImplTest) Time elapsed:
0.078 sec  <<< ERROR!
java.lang.UnsupportedOperationException: Missing implementation
       at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:109)
       at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:49)
       at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getRepositoryDescriptors(RepositoryServiceImpl.java:537)
       at org.apache.jackrabbit.jcr2spi.RepositoryImpl.<init>(RepositoryImpl.java:82)
       at org.apache.jackrabbit.jcr2spi.RepositoryImpl.create(RepositoryImpl.java:95)
       at org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory.getRepository(Jcr2spiRepositoryFactory.java:166)
       at org.apache.jackrabbit.client.RepositoryFactoryImpl.getRepository(RepositoryFactoryImpl.java:75)
       at org.apache.jackrabbit.client.RepositoryFactoryImplTest.testGetSpi2davexRepository(RepositoryFactoryImplTest.java:169)
Caused by: org.apache.jackrabbit.webdav.DavException: Method REPORT is not defined in RFC
2068 and is not supported by the Servlet API
       at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseException(DavMethodBase.java:172)
       at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.checkSuccess(DavMethodBase.java:181)
       at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getRepositoryDescriptors(RepositoryServiceImpl.java:507)
       ... 31 more

> some jcr-client tests fail if a server runs on localhost:80 
> ------------------------------------------------------------
>
>                 Key: JCR-2326
>                 URL: https://issues.apache.org/jira/browse/JCR-2326
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-client
>    Affects Versions: 2.0.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Minor
>             Fix For: 2.0-beta1
>
>
> This is caused by RepositoryFactoryImplTest.testGetSpi2davRepository() and probably RepositoryFactoryImplTest.testGetSpi2davexRepository().

> To fix this the tests should set up the required webDav servers for the test runs. Currently
the tests just try to connect to localhost:80 expecting the connection to fail in a specific
way. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message