Skip to content

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

Closed

Description

@spring-projects-issues

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/junit-framework#1701

Issue Links:

Referenced from: commits e1e6224, df13e4d

Activity

  1. spring-projects-issues commented on Jan 9, 2019

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    This is closely related to #10792.

  2. spring-projects-issues commented on Jan 9, 2019

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    This has been documented in the following commits.

  3. added
    in: test
    type: documentation
    on Jan 11, 2019
  4. added this to the 5.1.5 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: testtype: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions