[
https://issues.apache.org/jira/browse/HDDS-12602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936162#comment-17936162
]
Chung En Lee commented on HDDS-12602:
-------------------------------------
This is probably a minor testing bug. The first write and the second write are
writing to the same entry, causing them to interfere with each other. The first
write has not yet been completed by the chunkExecutor when the second write is
in progress, causing the second write to detect the first write's entry.
> Intermittent failure in TestContainerStateMachine.testWriteFailure
> ------------------------------------------------------------------
>
> Key: HDDS-12602
> URL: https://issues.apache.org/jira/browse/HDDS-12602
> Project: Apache Ozone
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Attila Doroszlai
> Assignee: Sumit Agrawal
> Priority: Major
> Attachments:
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachineFollower-output.txt,
>
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachineFollower.txt
>
>
> {code}
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.554 s <<<
> FAILURE! -- in
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachineFollower
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachineFollower.testWriteFailure(boolean)[2]
> -- Time elapsed: 0.024 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <CONTAINER_UNHEALTHY> but was:
> <CONTAINER_INTERNAL_ERROR>
> ...
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
> at
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachine.testWriteFailure(TestContainerStateMachine.java:175)
> at
> org.apache.hadoop.ozone.container.common.transport.server.ratis.TestContainerStateMachineFollower.testWriteFailure(TestContainerStateMachineFollower.java:23)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]