You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2024/12/10 01:04:00 UTC

[jira] [Comment Edited] (HDDS-11870) Fix TestHSync overwrite cases for OM Ratis enabled

    [ https://issues.apache.org/jira/browse/HDDS-11870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904306#comment-17904306 ] 

Wei-Chiu Chuang edited comment on HDDS-11870 at 12/10/24 1:03 AM:
------------------------------------------------------------------

The failed assertions are for ensuring that when a file is closed, it does not leave any entries in the open key table. Maybe we need to wait for double buffer cache to flush.
cc: [~smeng] do you know?


was (Author: jojochuang):
The failed assertions are for ensuring that when a file is closed, it does not leave any entries in the open key table. Maybe we need to wait for double buffer cache to flush.

> Fix TestHSync overwrite cases for OM Ratis enabled
> --------------------------------------------------
>
>                 Key: HDDS-11870
>                 URL: https://issues.apache.org/jira/browse/HDDS-11870
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> {{testHSyncKeyOverwriteHSyncKey}} and {{testHSyncKeyOverwriteNormalKey}} fail intermittently (but frequently) with OM Ratis enabled.
> {code}
> Tests run: 42, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 243.779 s <<< FAILURE! - in org.apache.hadoop.fs.ozone.TestHSync
> org.apache.hadoop.fs.ozone.TestHSync.testHSyncKeyOverwriteHSyncKey  Time elapsed: 0.213 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <1> but was: <2>
> 	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)
> 	at org.apache.hadoop.fs.ozone.TestHSync.testHSyncKeyOverwriteHSyncKey(TestHSync.java:1447)
> org.apache.hadoop.fs.ozone.TestHSync.testHSyncKeyOverwriteNormalKey  Time elapsed: 0.058 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
> 	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)
> 	at org.apache.hadoop.fs.ozone.TestHSync.testHSyncKeyOverwriteNormalKey(TestHSync.java:1370)
> {code}



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

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