[ 
https://issues.apache.org/jira/browse/NIFI-15282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-15282:
------------------------------------
    Description: 
There are three tests 
 # TestJoltTransformRecord
 # TestConvertRecord
 # TestForkRecord

which have been disabled due to pretty printing not working on Windows. This is 
due to the different line ending sequences Windows and Linux use. This is 
simple as replacing the Linux line ending sequence in expected file content 
with the Window's line sequence for the assertions.

  was:
There are three tests 
 # TestJoltTransformRecord
 # TestConvertRecord
 # TestForkRecord

which have been disabled due to pretty printing not working on Windows. This 
maybe due to due to the different line ending sequences these two operating 
systems use. This maybe simple as replacing the Linux line ending sequence in 
expected files with the Window's line sequence for the assertions.


> Fix those unit tests disabled on windows because pretty printed json 
> comparisons don't work on windows
> ------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15282
>                 URL: https://issues.apache.org/jira/browse/NIFI-15282
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are three tests 
>  # TestJoltTransformRecord
>  # TestConvertRecord
>  # TestForkRecord
> which have been disabled due to pretty printing not working on Windows. This 
> is due to the different line ending sequences Windows and Linux use. This is 
> simple as replacing the Linux line ending sequence in expected file content 
> with the Window's line sequence for the assertions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to