Joey Frazee created NIFI-3412:
---------------------------------
Summary: GetTCP testSuccessInteraction failing for multi-threaded
builds and bare .m2 repo
Key: NIFI-3412
URL: https://issues.apache.org/jira/browse/NIFI-3412
Project: Apache NiFi
Issue Type: Bug
Reporter: Joey Frazee
GetTCP tests are failing for multi-threaded builds (e.g., mvn -T 2.0C clean
install ...) when .m2 is completely empty and the build is being run for the
first time.
{code}
-------------------------------------------------------------------------------
Test set: org.apache.nifi.processors.gettcp.TestGetTCP
-------------------------------------------------------------------------------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.775 sec <<<
FAILURE! - in org.apache.nifi.processors.gettcp.TestGetTCP
testSuccessInteraction(org.apache.nifi.processors.gettcp.TestGetTCP) Time
elapsed: 0.712 sec <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.nifi.util.StandardProcessorTestRunner.assertTransferCount(StandardProcessorTestRunner.java:319)
at
org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:314)
at
org.apache.nifi.processors.gettcp.TestGetTCP.testSuccessInteraction(TestGetTCP.java:82)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)