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 2024/02/02 06:09:00 UTC
[jira] [Created] (HDDS-10277) Remove unnecessary fail() from tests
Attila Doroszlai created HDDS-10277:
---------------------------------------
Summary: Remove unnecessary fail() from tests
Key: HDDS-10277
URL: https://issues.apache.org/jira/browse/HDDS-10277
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
{code}
try {
<some action>
} catch (...) {
fail()
}
{code}
{{try-catch-fail}} can be removed if there are other assertions in the test case.
{{throws Exception}} may need to be added to the signature.
--
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