You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2022/01/25 13:31:00 UTC

[jira] [Created] (MINIFICPP-1741) Docker-based integration tests should only test features which are available

Ferenc Gerlits created MINIFICPP-1741:
-----------------------------------------

             Summary: Docker-based integration tests should only test features which are available
                 Key: MINIFICPP-1741
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1741
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Ferenc Gerlits


To run the docker-based integration tests, you
 # run {{cmake}} with some set of flags to enable or disable certain features;
 # run {{make docker}} to create the minifi image;
 # 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 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)