You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/04/30 13:57:00 UTC
[jira] [Resolved] (HDDS-12575) Set default JUnit5 timeout via property
[ https://issues.apache.org/jira/browse/HDDS-12575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-12575.
-------------------------------------
Fix Version/s: 2.1.0
Resolution: Done
> Set default JUnit5 timeout via property
> ---------------------------------------
>
> Key: HDDS-12575
> URL: https://issues.apache.org/jira/browse/HDDS-12575
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Chia-Chuan Yu
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.1.0
>
>
> Most timeout annotations in tests were added only to enforce "some" timeout value. JUnit5 can set default timeout via configuration, which allows setting different values for specific runs, instead of changing code.
> We should set {{junit.jupiter.execution.timeout.default=5m}} instead of {{@Timeout(300)}} (or similar).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org