Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9892

Any exception thrown while starting up container should be caught

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.60.0.Final
    • 7.59.0.Final
    • Migration
    • None
    • False
    • False
    • NEW
    • NEW

    Description

      When running integration tests through testcontainers, if for any reason, it fails to start up a docker container, the exception should be caught and continue trying to test it through the parameters passed.

      Right now, it only takes "IllegalStateException" and the start-up of a container it may through a runtime exception "ContainerLaunchException" if the image container is not found [1]

      [1] https://github.com/kiegroup/process-migration-service/blob/main/src/test/java/org/kie/processmigration/test/ContainerKieServerLifecycleManager.java#L99

      Attachments

        Activity

          People

            antferna Antonio Fernandez Alhambra (Inactive)
            antferna Antonio Fernandez Alhambra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: