ServiceMix
  1. ServiceMix
  2. SM-2195

rewrite features itests with pax-exam-karaf

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: itests
    • Labels:
      None

      Description

      we discussed this issue on mailling list several times.

      Currently itests are using old spring-osgi-test which is tricky and hard to maintain, we should use the pax-exam-karaf instead.

      As the apache karaf side pax-exam-karaf not get released yet, I think we can consider to use the openengsb one for know, as it's already in the maven central repo and pretty much same as the one in Apache karaf.

        Activity

        Hide
        Gert Vanthienen added a comment -

        Applied the patch in http://svn.apache.org/viewvc?view=revision&revision=1568043 - I think I got round the issue with the scala-library by adding useDeployFolder(false) to ensure that the library gets installed through the features mechanism instead of by using hot-deployment.

        Thanks for the great patch, Krzysztof!

        Show
        Gert Vanthienen added a comment - Applied the patch in http://svn.apache.org/viewvc?view=revision&revision=1568043 - I think I got round the issue with the scala-library by adding useDeployFolder(false) to ensure that the library gets installed through the features mechanism instead of by using hot-deployment. Thanks for the great patch, Krzysztof!
        Hide
        Krzysztof Sobkowiak added a comment -

        I have tried to upgrade the integration tests in PAX EXAM 3.4.0 and change into the Karaf container included in PAX EXAM (attached patch).

        But after this change the BasicAssemblyTests fail sometimes due to problems with the scala bundle. Is it possible that the tests starts before the container is completely booted?

        Please review the patch and use if you plan to upgrade the PAX EXAM version.

        Show
        Krzysztof Sobkowiak added a comment - I have tried to upgrade the integration tests in PAX EXAM 3.4.0 and change into the Karaf container included in PAX EXAM (attached patch). But after this change the BasicAssemblyTests fail sometimes due to problems with the scala bundle. Is it possible that the tests starts before the container is completely booted? Please review the patch and use if you plan to upgrade the PAX EXAM version.
        Hide
        Gert Vanthienen added a comment -
        Show
        Gert Vanthienen added a comment - Added itests for all CXF demos in https://svn.apache.org/viewvc?view=revision&revision=1476158
        Hide
        Gert Vanthienen added a comment -
        Show
        Gert Vanthienen added a comment - I took an initial stab at this one in https://svn.apache.org/viewvc?view=revision&revision=1466476

          People

          • Assignee:
            Gert Vanthienen
            Reporter:
            Freeman Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development