Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1741

Docker-based integration tests should only test features which are available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None

    Description

      To run the docker-based integration tests, you

      1. run cmake with some set of flags to enable or disable certain features;
      2. run make docker to create the minifi image;
      3. run make docker-verify to run the tests.

      The problem is that the image created in (2) will only contain the features selected in (1), but (3) will run all tests, even those which require a feature not included in the image – these tests will fail.

      We should find a way to only run tests for features enabled in the cmake step, as it is done in the case of unit tests.

      We should have 3 options of running docker tests:

      1. Run all of them
      2. Run only the ones whose flags are enabled in CMake (this should be the default)
      3. Run only one explicity asked by the user (useful during development)

      Attachments

        Activity

          People

            Unassigned Unassigned
            fgerlits Ferenc Gerlits
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: