Skip to content

Conversation

hpoettker
Copy link
Contributor

The test AsyncTaskletStepTests::testStepExecutionUpdates is flaky at the moment. At least on my machine, it fails rather reliably a handful of times with @RepeatedTest(1000).

This PR fixes the test by using a SynchronizedItemReader. It also replaces the fix from #4291 with SynchronizedItemReader, which wasn't available previously. Furthermore, it polishes the two tests a bit with more recent Java features.

@fmbenhassine
Copy link
Contributor

Rebased and merged as cf1f34b. Thank you for your contribution!

@fmbenhassine fmbenhassine added this to the 5.1.0-RC1 milestone Oct 13, 2023
@hpoettker hpoettker deleted the more-synchronized-readers branch October 13, 2023 20:12
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.

2 participants