You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by ijokarumawak <gi...@git.apache.org> on 2016/12/14 02:00:42 UTC

[GitHub] nifi issue #1321: NIFI-3188: Added unit test to test corner cases

Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/1321
  
    Reviewed. Confirmed this test case fails with rel/nifi-1.0.0 tag, but passes with the latest master as expected. With 1.0.0, it produced following assertion error:
    
    ```
    java.lang.AssertionError: array lengths differed, expected.length=2 actual.length=3
    
         at org.junit.Assert.fail(Assert.java:88)
         at org.junit.internal.ComparisonCriteria.assertArraysAreSameLength(ComparisonCriteria.java:76)
         at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:37)
         at org.junit.Assert.internalArrayEquals(Assert.java:532)
         at org.junit.Assert.assertArrayEquals(Assert.java:341)
         at org.junit.Assert.assertArrayEquals(Assert.java:352)
         at org.apache.nifi.stream.io.util.StreamDemarcatorTest.testOnBufferCorners(StreamDemarcatorTest.java:243)
    ```
    
    Thanks @markap14 merged this into master!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---