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 2021/03/12 15:56:00 UTC
[jira] [Created] (MINIFICPP-1530) Put Kafka tests in order
Ferenc Gerlits created MINIFICPP-1530:
-----------------------------------------
Summary: Put Kafka tests in order
Key: MINIFICPP-1530
URL: https://issues.apache.org/jira/browse/MINIFICPP-1530
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Affects Versions: 0.9.0
Reporter: Ferenc Gerlits
The tests in {{extension/librdkafka}} are in a bad state. They are run if minifi is configured with {{ENABLE_LIBRDKAFKA=ON}}, but they always pass in CTest, because
* {{PublishKafkaOnScheduleTests}} is an integration test, but it always returns with return code 0, whether the test is successful or not;
* {{ConsumeKafkaTests}} is a Catch2 test, but it is set up in CMakeLists to run with a resource file as a parameter, which Catch2 interprets as a test selector, and does not run any test cases.
Both tests rely on a Kafka broker running on the host and listening on port 9092, so we can't simply enable them, because CI jobs would start to fail.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)