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

@W-17808637 Improving code coverage for core/internal module #14244

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

chris-ebert
Copy link

@chris-ebert chris-ebert commented Feb 19, 2025

Adding coverage for the runtime/core/internal/processor/strategy package.

@chris-ebert chris-ebert requested a review from a team as a code owner February 19, 2025 18:49
@@ -81,29 +81,6 @@ public void setSchedulerDecorator(Function<ScheduledExecutorService, ScheduledEx
this.schedulerDecorator = schedulerDecorator;
}

/**
Copy link
Author

Choose a reason for hiding this comment

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

Apparently nothing was using these methods... so yoink...

@@ -70,7 +71,7 @@ public abstract class AbstractReactorStreamProcessingStrategy extends AbstractSt
int parallelism,
int maxConcurrency,
boolean maxConcurrencyEagerCheck) {
super(subscribers, maxConcurrency, maxConcurrencyEagerCheck);
super(subscribers, maxConcurrency, maxConcurrencyEagerCheck, () -> currentThread());
Copy link
Author

Choose a reason for hiding this comment

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

Made this testable so I could check that interrupt was being passed on when interrupted...

@chris-ebert chris-ebert self-assigned this Mar 18, 2025
Copy link

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.

5 participants