Wei-Chiu Chuang created HDDS-6493:
-------------------------------------

             Summary: Improve TestOmKeyInfoCodec error handling
                 Key: HDDS-6493
                 URL: https://issues.apache.org/jira/browse/HDDS-6493
             Project: Apache Ozone
          Issue Type: Improvement
          Components: test
            Reporter: Wei-Chiu Chuang


The following usage in TestOmKeyInfoCodec isn't perfect. Can use some help.
{noformat}
    } catch (IOException e) {
      fail("Should success");
    }
{noformat}

Suggest to let the exception to be thrown directly; remove the catch statement.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to