Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3749

Improvements to e2e-tests module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.22.0
    • Tests
    • None

    Description

      Some few improvements for the e2e tests module which will give more control and flexibility to run it.

          Scripts:
          - Fix the preapre-docker.sh to exit with 0 instead of 1 on success. This is a requirement to allow the docker image build be executed during the build (see below the skipImageBuild in the pom file)
          
          On pom files:
          - Change e2e-tests variable names to e2e-tests.xxxxxx for clarity on e2e-tests variables and defines a pattern for e2e tests variables.
          - Add e2e-tests.skipImageBuild variable to control if the docker image will be build (it defaults to do not build)
          - Add e2e-tests.dockerfile variable to specify the dockerfile to be used (defaults to use Dockerfile-centos)
          - Bump testcontainers version to 1.16.3
          - Add artemis distribution dependency on e2e-tests module since the docker image build depends on it
          
          On ContainerService class:
          - Fix exposePorts and exporseFolder methods to use SELinux shared mode otherwise the mount fails on machines with SELinux enabled
          - Move the logic to use specific user on container from generic start method to broker specific method to avoid affect other images
          - Update the broker image name to a generic name (activemq-artemis instead of artemis-centos)
          - Update the broker image tag reference to match with the project version in pom file instead of use latest

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tbueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h