[ https://issues.apache.org/jira/browse/SLING-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-4886. --------------------------------- > Testing tools bundles installer fails if there are no bundles to install > ------------------------------------------------------------------------ > > Key: SLING-4886 > URL: https://issues.apache.org/jira/browse/SLING-4886 > Project: Sling > Issue Type: Bug > Components: Testing > Affects Versions: org.apache.sling.testing.tools 1.0.10 > Reporter: Satya Deep Maheshwari > Assignee: Konrad Windszus > Priority: Minor > Fix For: org.apache.sling.testing.tools 1.0.12 > > Attachments: SLING-4886.patch > > > Background: > org.apache.sling.testing.tools.sling.BundlesInstaller.installBundles is > invoked by > org.apache.sling.testing.tools.sling.SlingTestBase.installAdditionalBundles > for installing any additional bundles which may be necessary while running a > test sling instance for some integration tests. > Problem: > The problem with BundlesInstaller.installBundles is that it fails if there > are no bundles to install and hence the integration tests fail. > Expectation: > BundlesInstaller.installBundles should not fail if there are no bundles to > install. It should just be a no-op. > Fix: > The problem is with a log message in this method which assumes that the > bundles list will not be empty. Also the log text seems to incorrectly assume > that the list contains bundles' folder path while it actually contains the > bundle list. -- This message was sent by Atlassian JIRA (v6.3.4#6332)