You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Martin Zink (Jira)" <ji...@apache.org> on 2021/02/16 16:47:00 UTC
[jira] [Created] (MINIFICPP-1497) Remove misleading
ThreadPoolAdjust integration test
Martin Zink created MINIFICPP-1497:
--------------------------------------
Summary: Remove misleading ThreadPoolAdjust integration test
Key: MINIFICPP-1497
URL: https://issues.apache.org/jira/browse/MINIFICPP-1497
Project: Apache NiFi MiNiFi C++
Issue Type: Improvement
Reporter: Martin Zink
Assignee: Martin Zink
Based on the name ThreadPoolAdjust, it is implied it tests the adjustments to the thread-pool or something along those lines, however _extensions/http-curl/tests/ThreadPoolAdjust.cpp_ is just a copy of _extensions/http-curl/tests/HttpPostIntegrationTest.cpp_ (only difference is that in the configuration nifi.flow.engine.threads is set to 1 instead of 8).
The configuration yml (_libminifi/test/resources/ThreadPoolAdjust.yml_) is also almost the same as to what the HttpPostIntegrationTest uses (_libminifi/test/resources/TestHTTPPost.yml_)
The test itself only runs assertion whether the InvokeHTTP processor is successfully started, nothing related to the threadpool.
Having this test is currently misleading, we could just rename it but since it doesn't give anymore coverage than the aforementioned HttpPostIntegrationTest, I think we should just remove it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)