You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2023/01/20 14:04:00 UTC

[jira] [Created] (NIFI-11083) FormatUtils not converting milliseconds to nanoseconds correctly

Daniel Stieglitz created NIFI-11083:
---------------------------------------

             Summary: FormatUtils not converting milliseconds to nanoseconds correctly
                 Key: NIFI-11083
                 URL: https://issues.apache.org/jira/browse/NIFI-11083
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Daniel Stieglitz


While refactoring the unit tests in NIFI-11035 it was discovered that nifi/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/FormatUtils.java method makeWholeNumberTime is not converting milliseconds to nanoseconds correctly. The given unit test was where milliseconds was 0.75, and in nanoseconds should be 750000 but 750 was returned.



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