You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Hunyadi (Jira)" <ji...@apache.org> on 2020/12/08 11:36:00 UTC

[jira] [Created] (MINIFICPP-1421) Investigate and fix C2JstackTest

Adam Hunyadi created MINIFICPP-1421:
---------------------------------------

             Summary: Investigate and fix C2JstackTest
                 Key: MINIFICPP-1421
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1421
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
    Affects Versions: 1.0.0
            Reporter: Adam Hunyadi
             Fix For: 0.8.0


*Background:*

C2JstackTest is currently looks for a log line that contains the word "SchedulingAgent". This line however is only present due to the LogTestController logs that log lines from the SchedulingAgents will not be shown.

{code:bash|title=Filtered test output}
➜  ./extensions/http-curl/tests/C2JstackTest ../src/libminifi/test/resources/TestHTTPGet.yml ../src/libminifi/test/resources/ |& grep "SchedulingAgent"                                                                               
[2020-12-08 10:48:51.955] [org::apache::nifi::minifi::core::logging::LoggerConfiguration] [debug] org::apache::nifi::minifi::SchedulingAgent logger got sinks from namespace root and level error from namespace root                       
[2020-12-08 10:48:51.955] [org::apache::nifi::minifi::core::logging::LoggerConfiguration] [debug] org::apache::nifi::minifi::ThreadedSchedulingAgent logger got sinks from namespace root and level error from namespace root               
[2020-12-08 10:48:51.955] [org::apache::nifi::minifi::core::logging::LoggerConfiguration] [debug] org::apache::nifi::minifi::TimerDrivenSchedulingAgent logger got sinks from namespace root and level error from namespace root 
{code}

*Proposal:*

As the test breaks if once we disable the inclusion of "logger got sinks" by default on test, we should turn off this test and at some point investigate what exactly the test was meant to check. One could probably check out the version of the MiNiFi this was introduced in and see if something important was captured by checking against this log line.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)