HDDS-7889. Intermittent failure in TestOzoneSnapshotRestore#4732
HDDS-7889. Intermittent failure in TestOzoneSnapshotRestore#4732adoroszlai merged 2 commits intoapache:masterfrom
Conversation
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @mladjan-gadzic for working on this.
Please run the test repeatedly in CI (see aaa6e8b for an example) and post the results.
...gration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestOzoneSnapshotRestore.java
Show resolved
Hide resolved
|
@adoroszlai thanks for the review!
I've been running those kind of tests for a quite some time. Please check https://github.com/mladjan-gadzic/ozone/actions/workflows/HDDS-7889.yml. There has not been a single failure since the last commit. Is that what you are referring to? |
Yes, great work, thanks for the link. |
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @mladjan-gadzic for updating the patch.
|
Thanks @adoroszlai for the review! |
What changes were proposed in this pull request?
The issue was that
TestOzoneSnapshotRestore::keyCopymethod was not finished copying keys when assertion for return value ofTestOzoneSnapshotRestore::keyCountmethod was executed. It is proposed to useGenericTestUtils::waitForto wait forTestOzoneSnapshotRestore::keyCountto return expected number of keys. For more info check comment section under linked Jira ticket.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7889
How was this patch tested?