-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration Tests break AEM server #70
Comments
Thanks for the report @sschwedler . Can you try setting the bundle versions equal to the ones in AEM? |
Also, what version of AEM did you test this with? |
AEM 6.2. and AEM 6.2. SP1 |
When changing the versions tag of the dependencies for httpclient and httpcore I get the following message when executing the integration test. [main] INFO org.apache.sling.testing.tools.sling.BundlesInstaller - Not reinstalling: org.apache.httpcomponents.httpclient |
That sounds promising. Does the package manager break with these updated versions? If not, what versions did you change them to? BTW, if you have something that works for you and you have the time to do so, feel free to create a pull request. |
With that the package manager works fine after an integration test. The question to me is, why does it install these bundles which are already available in AEM? |
My guess would be that older AEM versions are using http client version 3, but I have to check first. |
When running integration tests the AEM package manager does not work anymore. It's because task installs old versions of httpclient-osgi and httpscore-osgi. As a workaround the pom.xml in launcher project can be modified by commenting the bundles. Integration tests work without installing these bundles.
<sling.additional.bundle.7>httpclient-osgi</sling.additional.bundle.7>
<sling.additional.bundle.8>httpcore-osgi</sling.additional.bundle.8>
The text was updated successfully, but these errors were encountered: