nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Zhurakousky <>
Subject Re: Master Branch Tests Failing on Windows
Date Thu, 12 Nov 2015 03:59:18 GMT

I am gonna go out on the limb here, but do you think it may have something to do with forward
slashes “target/test-classes”?
Perhaps we may need to start using File.separator?


On Nov 11, 2015, at 8:41 PM, Joe Percivall <<>>

Hey Dev,

Is anyone building the project using Windows (specifically 8)?

I wanted to verify a patch I'm doing for ExecuteStreamCommand works on Windows. So I did a
fresh clone of the git repo and ran "mvn clean install" but I get seemingly random errors.
One such error is on PutHDFSTest line 178 (added an extra line to break up the logic):

List<MockFlowFile> failedFlowFiles = runner.getFlowFilesForRelationship(new Relationship.Builder().name("failure").build());
boolean isEmpty = failedFlowFiles.isEmpty();

I get an AssertionError:

testPutFile(org.apache.nifi.processors.hadoop.PutHDFSTest)  Time elapsed: 5.223 sec  <<<
java.lang.AssertionError: null
at org.junit.Assert.assertTrue(
at org.junit.Assert.assertTrue(
at org.apache.nifi.processors.hadoop.PutHDFSTest.testPutFile(

Except that I was stepping through and saw that isEmpty was not null going into the assertion.

I have the feeling something is funky with my local system but can anyone verify that a clean
clone of the repo is working on Windows?


- - - - - -
Joseph Percivall<>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message