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

Document effect of preemptive timeouts on transactional tests [SPR-17647] #22176

Closed
spring-projects-issues opened this issue Jan 8, 2019 · 2 comments
Assignees
Labels
in: test Issues in the test module type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 8, 2019

Sam Brannen opened SPR-17647 and commented

Overview

As discussed in JUnit 5 issue 1701, developers are often unaware of the effect that a preemptive timeout in a testing framework can have on transactional tests in Spring.

Documenting such use cases in the Testing chapter of the Spring Reference Manual, analogous to how I documented it in the JUnit 5 User Guide, would help improve awareness.

Deliverables

  • Document effect of preemptive timeouts on transactional tests in the Testing chapter.
  • Mention JUnit Jupiter's assertTimeoutPreemptively().
  • Mention JUnit 4's Timeout rule and timeout support.
  • Mention TestNG's timeOut support.

Reference URL: junit-team/junit5#1701

Issue Links:

Referenced from: commits e1e6224, df13e4d

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 9, 2019

Sam Brannen commented

This is closely related to #10792.

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

This has been documented in the following commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants