[
https://issues.apache.org/jira/browse/NIFI-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677841#comment-17677841
]
David Handermann commented on NIFI-11035:
-----------------------------------------
Very interesting find [~dstiegli1], it looks like a bug in the FormatUtils
implementation method. The expected value is correct, as 0.75 milliseconds is
equivalent to 750,000 nanoseconds. It would probably be best to file a separate
Jira to correct the runtime behavior, separate from this test refactoring.
> Replace remaining JUnit 4 assertions in nifi-commons with JUnit 5 assertions
> ----------------------------------------------------------------------------
>
> Key: NIFI-11035
> URL: https://issues.apache.org/jira/browse/NIFI-11035
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> A quick search nifi-commons for "org.junit.Assert" indicates there are over
> 50 cases where JUnit 4 assertions are still being used. These should be
> replaced with JUnit 5 assertions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)