Hi,

have you tested that on command line only ?

I have run the test on Mac OS by using misc/build-order.sh which produces exactly a single test failure...

testImportTemplate(org.apache.nifi.integration.accesscontrol.DfmAccessControlTest) Time elapsed: 0.271 sec <<< FAILURE!
java.lang.AssertionError: expected:<201> but was:<200>
        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.integration.accesscontrol.DfmAccessControlTest.testImportTemplate(DfmAccessControlTest.java:1310)

Running org.apache.nifi.integration.accesscontrol.ReadOnlyAccessControlTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.53 sec - in org.apache.nifi.integration.accesscontrol.ReadOnlyAccessControlTest

Results :

Failed tests:
  DfmAccessControlTest.testImportTemplate:1310 expected:<201> but was:<200>

Running with Java 1.7.

Kind regards
Karl Heinz Marbaise


On 12/14/14 5:15 AM, Joe Gresock wrote:
Hi guys,

I just checked out master and tried to run misc/build-order.sh.  It got up
to standard-processors and then had 19 unit test failures.  Is the build
supposed to be working now?

I'm running Java 1.8 u25 on Windows.  I get the same test failures running
both from maven 3.2.3 and in JUnit within Eclipse.  Here's one example:

java.lang.AssertionError: FlowFile content differs from input at byte 20
with input having value 13 and FlowFile having value 10
at org.junit.Assert.fail(Assert.java:88)
at
org.apache.nifi.util.MockFlowFile.assertContentEquals(MockFlowFile.java:252)
at
org.apache.nifi.util.MockFlowFile.assertContentEquals(MockFlowFile.java:204)
at
org.apache.nifi.util.MockFlowFile.assertContentEquals(MockFlowFile.java:192)
at
org.apache.nifi.processors.standard.TestUnpackContent.testFlowFileStreamV2(TestUnpackContent.java:129)

Thanks,
Joe


Reply via email to