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

[#1904]Added tests for ThroughputMonitorProcessor #3504

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Suvrat1629
Copy link

Purpose

This PR adds unit tests for ThroughputMonitorProcessor by improving event validation, fixing field selection issues, and ensuring correct batch processing behavior.

Remarks

PR introduces (a) breaking change(s): no

PR introduces (a) deprecation(s): no

@github-actions github-actions bot added java Pull requests that update Java code pipeline elements Relates to pipeline elements backend Everything that is related to the StreamPipes backend testing Relates to any kind of test (unit test, integration, or E2E test). labels Feb 24, 2025
@tenthe
Copy link
Contributor

tenthe commented Feb 25, 2025

Hi @Suvrat1629,
we use Checkstyle for Java, so please reformat the code accordingly. This should ensure the build validation passes successfully.

For reference, here’s a guide on how to set up Checkstyle in IntelliJ. Hope this helps!
https://cwiki.apache.org/confluence/display/STREAMPIPES/Code+Style+-+Java

@Suvrat1629
Copy link
Author

@tenthe
I did the formatting stuff, please take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend java Pull requests that update Java code pipeline elements Relates to pipeline elements testing Relates to any kind of test (unit test, integration, or E2E test).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants