Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ManifestFileCleanupTaskHandlerTest.testCleanupWithRetries #576

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

adutra
Copy link
Contributor

@adutra adutra commented Dec 17, 2024

This test wrongly assumes that the ForkJoin Pool thread that will execute the async task will be a new one, and that it will inherit the thread locals from its parent, including CallContext. But that is not guaranteed.

This test wrongly assumes that the ForkJoin Pool thread
that will execute the async task will be a new one, and that
it will inherit the thread locals from its parent, including
CallContext. But that is not guaranteed.
Copy link
Contributor

@flyrain flyrain left a comment

Choose a reason for hiding this comment

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

+1 Thanks for the fix.

Comment on lines +446 to +447
CompletableFuture<Void> future;
future =
Copy link
Contributor

Choose a reason for hiding this comment

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

minor suggestion: merge these two line together?

@adutra adutra merged commit 1698e5c into apache:main Dec 26, 2024
5 checks passed
@adutra adutra deleted the fix-test-cleanup-test branch December 26, 2024 11:43
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