Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.nifi.processor.util.list.TestAbstractListProcessor
Tests run: 16, Failures: 2, Errors: 0, Skipped: 2, Time elapsed: 4.323 sec <<< FAILURE! - in org.apache.nifi.processor.util.list.TestAbstractListProcessor
testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision(org.apache.nifi.processor.util.list.TestAbstractListProcessor) Time elapsed: 0.024 sec <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<2>
at org.apache.nifi.processor.util.list.TestAbstractListProcessor.testPreviouslySkippedEntriesEmmitedOnNextIteration(TestAbstractListProcessor.java:145)
at org.apache.nifi.processor.util.list.TestAbstractListProcessor.testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision(TestAbstractListProcessor.java:173)
testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision(org.apache.nifi.processor.util.list.TestAbstractListProcessor) Time elapsed: 0.025 sec <<< FAILURE!
java.lang.AssertionError:
State dump:
--------------------------------------------------------------------
timestamp date from timestamp t0 delta
------------------- ------------- ----------------------- --------
started at = 1512446996997 2017-12-05T04:09:56.997 0
current time = 1512446997005 2017-12-05T04:09:57.005 0
---- processor state -----------------------------------------------
processed.timestamp = na
listing.timestamp = na
---- input folder contents -----------------------------------------
id = 1512446996000 2017-12-05T04:09:56.000 -1005
id2 = 1512446996000 2017-12-05T04:09:56.000 -1005
---- output flowfiles ----------------------------------------------
id = 1512446996000 2017-12-05T04:09:56.000 -1005
id2 = 1512446996000 2017-12-05T04:09:56.000 -1005
REL_SUCCESS count = 2
--------------------------------------------------------------------
Running org.apache.nifi.processor.util.pattern.TestExceptionHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.nifi.processor.util.pattern.TestExceptionHandler
Running org.apache.nifi.processor.util.pattern.TestRollbackOnFailure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in org.apache.nifi.processor.util.pattern.TestRollbackOnFailure
Results :
Failed tests:
org.apache.nifi.processor.util.list.TestAbstractListProcessor.testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision(org.apache.nifi.processor.util.list.TestAbstractListProcessor)
Run 1: TestAbstractListProcessor.testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision:173->testPreviouslySkippedEntriesEmmitedOnNextIteration:145 expected:<0> but was:<2>
Run 2: TestAbstractListProcessor.testPreviouslySkippedEntriesEmittedOnNextIterationSecondPrecision State dump:
--------------------------------------------------------------------
timestamp date from timestamp t0 delta
------------------- ------------- ----------------------- --------
started at = 1512446996997 2017-12-05T04:09:56.997 0
current time = 1512446997005 2017-12-05T04:09:57.005 0
---- processor state -----------------------------------------------
processed.timestamp = na
listing.timestamp = na
---- input folder contents -----------------------------------------
id = 1512446996000 2017-12-05T04:09:56.000 -1005
id2 = 1512446996000 2017-12-05T04:09:56.000 -1005
---- output flowfiles ----------------------------------------------
id = 1512446996000 2017-12-05T04:09:56.000 -1005
id2 = 1512446996000 2017-12-05T04:09:56.000 -1005
REL_SUCCESS count = 2
--------------------------------------------------------------------