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 Kis (Jira)" <ji...@apache.org> on 2023/05/15 12:27:00 UTC
[jira] [Created] (NIFI-11546) MiNiFi IT Improvements
Ferenc Kis created NIFI-11546:
---------------------------------
Summary: MiNiFi IT Improvements
Key: NIFI-11546
URL: https://issues.apache.org/jira/browse/NIFI-11546
Project: Apache NiFi
Issue Type: Improvement
Components: MiNiFi
Reporter: Ferenc Kis
1. We should add
{code:java}
mvn -pl minifi/minifi-c2/minifi-c2-assembly -am install -T1C -DskipTests -P targz
mvn -pl minifi/minifi-c2/minifi-c2-docker -am install -T1C -DskipTests -P docker
{code}
to nifi/minifi/minifi-integration-tests/README.md to make it self contained, as minifi-integration-tests require minifi-c2-docker image.
2. StandaloneYamlTest.verifyLogEntries test seems to be unstable as sometimes the particular container is started too slowly, and in the verifyLogEntries method the while loop exits before all the required log entries are found.
Possible solutions:
* quick and dirty: insert a Thread.sleep before verifyLogEntries, so the docker container will have time to start
* proper: refactor the verifyLogEntries method, to not check on null, but poll until the test criteria is met or a timeout is reached
--
This message was sent by Atlassian Jira
(v8.20.10#820010)