Skip to content

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