Skip to content

more executor tests #2002

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

Merged
merged 7 commits into from
Oct 19, 2020
Merged

more executor tests #2002

merged 7 commits into from
Oct 19, 2020

Conversation

richardstartin
Copy link
Contributor

@richardstartin richardstartin commented Oct 19, 2020

Also generalises the rejected execution handler instrumentation to support the netty flavour of the abstraction, disallows some delegating/wrapping executors (but keeps/adds tests for them) because they lead to doubling the work done, and if they e.g. capture the continuation, but catch a RejectedExecutionException then we may miss the chance to cancel the continuation.

@richardstartin richardstartin added comp: testing Testing tag: no release notes Changes to exclude from release notes labels Oct 19, 2020
@richardstartin richardstartin requested a review from a team as a code owner October 19, 2020 09:53
@@ -45,9 +45,6 @@ public AbstractExecutorInstrumentation(final String... additionalNames) {
PERMITTED_EXECUTORS_PREFIXES = Collections.emptyList();
} else {
final String[] whitelist = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The executors here all just wrap other executors

@richardstartin richardstartin force-pushed the rgs/more-executor-tests branch from 86828bb to 219b5e7 Compare October 19, 2020 11:24
@richardstartin richardstartin merged commit 9a95234 into master Oct 19, 2020
@richardstartin richardstartin deleted the rgs/more-executor-tests branch October 19, 2020 14:35
@github-actions github-actions bot added this to the 0.66.0 milestone Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: testing Testing tag: no release notes Changes to exclude from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants