spring-projects / spring-projects/spring-batch
enhance JobLauncherTestUtils.launchStep(...) to be able to test a local slave step from a partition step [BATCH-2225]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 2.5k
- Avg merge
- 6d 53m
- Merged PRs (30d)
- 3
Description
Michael Pralow opened BATCH-2225 and commented
With version 2.2.6 it is not possible to test a step with JobLauncherTestUtils.launchStep(..) which itself is a local slave step for a partition step.
I tagged this issue as minor, i am not sure if a slave step should be testable like this, but it would sure be nice.
Affects: 2.2.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at JobLauncherTestUtils.launchStep(...) and trace how it handles a local slave step from a partition step. Reproduce the reported limitation with the affected 2.2.6 scenario, then add or update coverage so this kind of slave step can be launched successfully for testing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100