You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2020/02/21 23:49:00 UTC

[jira] [Created] (NIFI-7182) TestQuerySolr has swapped expected/actuals and flaky results

Joe Witt created NIFI-7182:
------------------------------

             Summary: TestQuerySolr has swapped expected/actuals and flaky results
                 Key: NIFI-7182
                 URL: https://issues.apache.org/jira/browse/NIFI-7182
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Joe Witt


https://github.com/apache/nifi/blame/161e4b57632b2d5454390871980288eb66df2502/nifi-nar-bundles/nifi-solr-bundle/nifi-solr-processors/src/test/java/org/apache/nifi/processors/solr/TestQuerySolr.java#L191

The expected/Actuals checks in assertions are swapped in some cases.

And that line, 191, fails sometimes saying it expected 0 but found 10 (i think it is actually failing because it expected 10 but found 0).



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