[
https://issues.apache.org/jira/browse/NIFI-15282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043148#comment-18043148
]
ASF subversion and git services commented on NIFI-15282:
--------------------------------------------------------
Commit ba75357664d1b6f003e8b384914d8e1cafb58375 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ba75357664 ]
NIFI-15282 Enabled JSON Tests on Windows with conditional newline handling
(#10604)
Signed-off-by: David Handermann <[email protected]>
> 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: 20m
> 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)