Skip to content

HDDS-7889. Intermittent failure in TestOzoneSnapshotRestore#4732

Merged
adoroszlai merged 2 commits intoapache:masterfrom
mladjan-gadzic:HDDS-7889
May 19, 2023
Merged

HDDS-7889. Intermittent failure in TestOzoneSnapshotRestore#4732
adoroszlai merged 2 commits intoapache:masterfrom
mladjan-gadzic:HDDS-7889

Conversation

@mladjan-gadzic
Copy link
Contributor

What changes were proposed in this pull request?

The issue was that TestOzoneSnapshotRestore::keyCopy method was not finished copying keys when assertion for return value of TestOzoneSnapshotRestore::keyCount method was executed. It is proposed to use GenericTestUtils::waitFor to wait for TestOzoneSnapshotRestore::keyCount to 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?

  • unit tests

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mladjan-gadzic for working on this.

Please run the test repeatedly in CI (see aaa6e8b for an example) and post the results.

@mladjan-gadzic
Copy link
Contributor Author

@adoroszlai thanks for the review!

Please run the test repeatedly in CI (see aaa6e8b for an example) and post the results.

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?

@adoroszlai
Copy link
Contributor

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.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mladjan-gadzic for updating the patch.

@mladjan-gadzic
Copy link
Contributor Author

Thanks @adoroszlai for the review!

@adoroszlai adoroszlai merged commit 359ef89 into apache:master May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants