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

Added unit tests for PipelineJobCenter.java #28887

Closed
wants to merge 1 commit into from

Conversation

20t3r
Copy link

@20t3r 20t3r commented Oct 29, 2023

Fixes #28542.

Changes proposed in this pull request:
Added test cases for the following methods:
addJob()
isJobExisting(): with existing job and non-existing job
stop() : with existing job and non-existing job
getJobItemContext(): with existing job and non-existing job, with existing shardingItem and non-existing shardingItem
getShardingItems(): with existing job and non-existing job


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

@sandynz
Copy link
Contributor

sandynz commented Nov 2, 2023

Hi @20t3r , thanks for you contribution. Sorry to close it, since there's already another PR fix related issue. Welcome to pick other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit test for PipelineJobCenter
2 participants