Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-282

DeployableContainer.stop(Context) never called

    Details

      Description

      This is true for the embedded and remote OSGi containers

        Gliffy Diagrams

          Activity

          Hide
          thomas.diesler Thomas Diesler added a comment -

          The RemoteDeployableContainer now uses statics and a ShutdownHook as a workaround
          Please remove this hack when resolving this issue

          Show
          thomas.diesler Thomas Diesler added a comment - The RemoteDeployableContainer now uses statics and a ShutdownHook as a workaround Please remove this hack when resolving this issue
          Hide
          thomas.diesler Thomas Diesler added a comment -

          Still true for Alpha5

          Show
          thomas.diesler Thomas Diesler added a comment - Still true for Alpha5
          Hide
          aslak Aslak Knutsen added a comment - - edited

          Maven-Surefire runs test as individual tests in the default JUnitProvider reusing the same notifier but never calls testRunFinished. As far as I can find, there is no way to figure out what is the last test to run so we can shutdown using this Provider.

          JUnit47Provider does call testRunFinished, but only way to configure it is to set <parallel> to something, e.g. none. (but will validate that forkmode is not forkNever).

          Show
          aslak Aslak Knutsen added a comment - - edited Maven-Surefire runs test as individual tests in the default JUnitProvider reusing the same notifier but never calls testRunFinished. As far as I can find, there is no way to figure out what is the last test to run so we can shutdown using this Provider. JUnit47Provider does call testRunFinished, but only way to configure it is to set <parallel> to something, e.g. none. (but will validate that forkmode is not forkNever).
          Show
          aslak Aslak Knutsen added a comment - http://jira.codehaus.org/browse/SUREFIRE-743
          Hide
          aslak Aslak Knutsen added a comment -

          SUREFIRE-743 resolved, update to surefire 2.9

          Show
          aslak Aslak Knutsen added a comment - SUREFIRE-743 resolved, update to surefire 2.9

            People

            • Assignee:
              aslak Aslak Knutsen
              Reporter:
              thomas.diesler Thomas Diesler
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development