You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "UENISHI Kota (Jira)" <ji...@apache.org> on 2022/03/02 10:18:00 UTC

[jira] [Created] (HDDS-6401) Fix flaky TestFilePerBlockStrategy.testWriteAndReadChunkMultipleTimes

UENISHI Kota created HDDS-6401:
----------------------------------

             Summary: Fix flaky TestFilePerBlockStrategy.testWriteAndReadChunkMultipleTimes
                 Key: HDDS-6401
                 URL: https://issues.apache.org/jira/browse/HDDS-6401
             Project: Apache Ozone
          Issue Type: Test
            Reporter: UENISHI Kota
            Assignee: UENISHI Kota


When ChunkUtils.writeData() finishes too fast, elapsed time for writing data in test case becomes zero because it's resolution is a bit rough, in milliseconds. That leads to the failure of test assertion that checks elapsed time being >0. Here, the check must be on written bytes and ops.

I think this failure does not affect any released version.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org