NIFI-1651 unit tests work on windows. removed contributor name/package from data and schema#291
NIFI-1651 unit tests work on windows. removed contributor name/package from data and schema#291trkurc wants to merge 1 commit intoapache:masterfrom
Conversation
…e from data and schema
|
reviewing |
|
Tried a mvn clean install without success on my side (I missed something?): |
|
Pierre, what environment are you running on? |
|
Windows 7 Pro / Maven 3.3.9 / Java 1.8.0_74 |
|
Did you clone the code with autocrlf? Does the schema in src/test/resources have line endings? |
|
Using Windows 10, maven 3.3.9, java 1.7.0_79 the nifi-kite-bundle fails on this unit test before this patch. nifi-kite-bundle unit tests work fine after this patch. +1 from me. |
|
Windows 7, Maven 3.3.3, and JDK 8u71 looks good here. Will look for updates from @pvillard31 |
|
Sorry for the delay... I am on a different computer than usual and forgot to check the git property. Did a full clone again (so slow with airport wifi...) and checked the schema (looks OK to me). The git property solved most of the issues, but some are remaining: |
|
@pvillard31 - I was able to replicate the errors in the txt file you included by adding \r's to the file (windows line endings). The other errors are on tests that haven't changed in this PR, but I can dig in. |
|
@trkurc I am currently checking on my side why the other unit tests are in failure. But as you said, this is not related to this PR, so it is OK for me. |
|
Just for the record, the error is because of my local env. This is fixed by setting the locale to US on the scanner:
I don't know if there is a way to set this at a global scale. |
|
hmm good find @pvillard31 We need to make the code more locale tolerant apparently. Will create a JIRA for that. |
|
So, likely needs a processor change to add a default locale and some ability to override it |
No description provided.