Skip to content

Fix fragile tests for asynchronous events [SPR-17211] #21744

@spring-projects-issues

Description

@spring-projects-issues

Korovin Anatoliy opened SPR-17211 and commented

I tried to run all tests several times (in the spring-context module), and sometimes I got an error, sometimes not.

Some of these errors:

  • org.springframework.scheduling.concurrent.AbstractSchedulingTaskExecutorTests#submitCallableWithGetAfterShutdown
  • org.springframework.scheduling.concurrent.AbstractSchedulingTaskExecutorTests#submitFailingListenableCallable

I fixed it and also made a refactoring some of async tests..

I will soon create a PR.


Affects: 5.1 RC2

Attachments:

Referenced from: pull request #1941, and commits ab086f4

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions