Skip to content

Conversation

@errose28
Copy link
Contributor

@errose28 errose28 commented Jul 29, 2025

What changes were proposed in this pull request?

HDDS-12849 made the on-demand scanner non-static. This means we do not need to wait for it to be initialized before scanning, so the assert that was failing here was no longer valid. The failure shows up intermittently because on-demand scanning is async. In most cases the scan would not have completed by the time the assert ran, so there were still no interactions with the mock.

What is the link to the Apache JIRA

HDDS-13407

How was this patch tested?

Previously it was noted the test failed about 1/10 times in CI. 200 runs of this test with this change passed here.

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 @errose28 for the patch, LGTM.

@errose28
Copy link
Contributor Author

Thanks @adoroszlai for the review.

@errose28 errose28 merged commit 5e18a30 into apache:master Jul 29, 2025
40 checks passed
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jul 31, 2025
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