Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3537

Enable sling testing tools and sling junit remote workflow to refresh packages after bundle install and give the option to uninstall bundles after test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Launchpad Testing 10, JUnit Remote Tests Runners 1.0.10
    • None
    • Testing
    • Build machine is Windows 64 bit
      Execution environment is Adobe CQ 5.6.1

    Description

      The current snapshots of sling testing tools (1.0.7-SNAPSHOT) and sling junit remote (1.0.9-SNAPSHOT) were incorrectly failing tests when the same bundles were being deployed to an existing OSGi environment. This was happening because the bundles had the same version number as the bundles that were already installed, and OSGi was getting confused because there was no refresh packages after the install.

      So, the current test workflow is this:

      • install bundles
      • verify bundles are installed
      • activate bundles
      • start bundles
      • run tests
      • exit

      And I've modified the code to change it to this:

      • install bundles
      • refresh packages
      • verify bundles are installed
      • activate bundles
      • start bundles
      • run tests
      • uninstall bundles (optional)
      • refresh packages (optional)
      • exit

      See attached patch file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jblack10101 Jordan Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: