Skip to content

JUnit 5 tests don't apply a timeout #977

@timja

Description

@timja

Jenkins and plugins versions report

https://github.com/jenkinsci/pipeline-graph-view-plugin/blob/8099553260272937bec41f266799e5bf8551d7d7/src/test/java/io/jenkins/plugins/pipelinegraphview/consoleview/PipelineConsoleViewInputTest.java#L55

What Operating System are you using (both controller, and any agents involved in the problem)?

ci.jenkins.io

Reproduction steps

run a test and set -Djenkins.test.timeout=1, expect it to fail like it does with any JUnit 4 test, it succeeds

Expected Results

A timeout based on jenkins.test.timeout

Actual Results

No timeout as far as I can tell, the ci.jenkins.io test ran for approx 50 mins before being killed

Anything else?

No response

Are you interested in contributing a fix?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions