Actually it may be related to the known JDK issue that has been reported
several times.
Does it look something like this (see below)? If so then please upgrade your
JDK to something newer. Something above 1.8.0_65
Cheers
Oleg
. . .
testReadFlowFileContentAndStoreInFlowFileAttribute(org.apache.nifi.processors.script.TestInvokeJavascript)
Time elapsed: 0.206 sec <<< FAILURE!
java.lang.AssertionError: Processor has 1 validation failures:
'Validation' validated against
'target/test/resources/javascript/test_reader.js' is invalid because An error
occurred calling validate in the configured script Processor.
at org.junit.Assert.fail(Assert.java:88)
at
org.apache.nifi.util.MockProcessContext.assertValid(MockProcessContext.java:251)
at
org.apache.nifi.util.StandardProcessorTestRunner.assertValid(StandardProcessorTestRunner.java:334)
at
org.apache.nifi.processors.script.TestInvokeJavascript.testReadFlowFileContentAndStoreInFlowFileAttribute(TestInvokeJavascript.java:59)
testScriptDefinedRelationship(org.apache.nifi.processors.script.TestInvokeJavascript)
Time elapsed: 0.102 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at
org.apache.nifi.processors.script.TestInvokeJavascript.testScriptDefinedRelationship(TestInvokeJavascript.java:128)
. . .
On Dec 29, 2016, at 10:11 AM, Joe Percivall
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I don't see any text between "... test error :" and "(on CentOS it works
fine)". Could you try reformatting and resending?
Joe
On Thu, Dec 29, 2016 at 5:26 AM, ddewaele
<[email protected]<mailto:[email protected]>> wrote:
When I try to create a local build of nifi on my mac I always get the
following test error : (on CentOS it works fine).
Any idea what is causing this and how this can be fixed ?
--
View this message in context:
http://apache-nifi-users-list.2361937.n4.nabble.com/Building-nifi-locally-on-my-mac-tp542.html
Sent from the Apache NiFi Users List mailing list archive at
Nabble.com<http://nabble.com>.
--
- - - - - -
Joseph Percivall
linkedin.com/in/Percivall<http://linkedin.com/in/Percivall>
e: [email protected]<mailto:[email protected]>