[
https://issues.apache.org/jira/browse/SLING-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16627025#comment-16627025
]
Oliver Lietz edited comment on SLING-7950 at 9/25/18 11:50 AM:
---------------------------------------------------------------
[~rombert], I don't think the tests fail because of Oak 1.8. I adjusted some
repoinit statements last evening in [Sling's Karaf Launchpad Integration
Tests|https://github.com/apache/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests/commit/fce157ab2e55ec004a5ff2b3fb2bdaf76a9a3489]
and now I see only failures related to rendering. How did you run the tests?
Update on Sling's Karaf Launchpad Integration Tests (using
{{org.apache.sling.launchpad.integration-tests}} 1.0.7-SNAPSHOT): {{[WARNING]
Tests run: 650, Failures: 0, Errors: 0, Skipped: 1}}
was (Author: olli):
[~rombert], I don't think the tests fail because of Oak 1.8. I adjusted some
repoinit statements last evening in [Sling's Karaf Launchpad Integration
Tests|https://github.com/apache/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests/commit/fce157ab2e55ec004a5ff2b3fb2bdaf76a9a3489]
and now I see only failures related to rendering. How did you run the tests?
> Fix ITs with Oak 1.8
> --------------------
>
> Key: SLING-7950
> URL: https://issues.apache.org/jira/browse/SLING-7950
> Project: Sling
> Issue Type: Sub-task
> Components: Launchpad, Oak, Testing
> Reporter: Robert Munteanu
> Priority: Major
> Fix For: Starter 11
>
>
> Updating to Oak 1.8.7 results in the following failures:
> {noformat}[ERROR] Failures:
> [ERROR] AnonymousAccessTest.testAnonymousContent:99->assertContent:85
> Expected status 200 for
> http://localhost:41000/ANON_CAN_READ/AnonymousAccessTest/789235c4-d3b2-43b3-a163-aadb95cdd56b/test_text_789235c4_d.txt
> (content=) expected:<200> but was:<401>
> [ERROR] AnonymousAccessTest.testAnonymousContent:101 Expecting status 404
> when testing outside of anonymous access subtree expected:<404> but was:<401>
> [ERROR]
> AuthRequestLoginTest.testForcedLogin:40->HttpTestBase.getContent:419->HttpTestBase.getContent:424->HttpTestBase.getContent:432->HttpTestBase.getContent:457
> Expected status 200 for
> http://localhost:41000/system/sling/info.sessionInfo.json (content=)
> expected:<200> but was:<401>
> [ERROR] RedirectOnLogoutTest.testRedirectToResourceAfterLogout:70 Expected
> redirect expected:<302> but was:<401>
> [ERROR] Errors:
> [ERROR] DavExDisabledAnonAccessTest>DavExIntegrationTest.setUp:47 »
> NoClassDefFound or...
> [ERROR] DavExDisabledAnonAccessTest>DavExIntegrationTest.setUp:47 »
> NoClassDefFound or...
> [ERROR] DavExIntegrationTest.setUp:47 » NoClassDefFound
> org/apache/jackrabbit/webdav/c...
> [ERROR] DavExIntegrationTest.setUp:47 » NoClassDefFound
> org/apache/jackrabbit/webdav/c...
> [INFO]
> [ERROR] Tests run: 655, Failures: 4, Errors: 4, Skipped: 1{noformat}
> The changes that support this are at
> https://github.com/apache/sling-org-apache-sling-starter/tree/feature/oak-1.8
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)