HDDS-984. Fix TestOzoneManagerRatisServer.testIsReadOnlyCapturesAllCmdTypeEnums. Contributed by Xiaoyu Yao.

This commit is contained in:
Xiaoyu Yao 2019-01-17 14:03:46 -08:00
parent c0683ed253
commit 06c83d3b8a
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ public final class OmUtils {
case CommitMultiPartUpload:
case CompleteMultiPartUpload:
case AbortMultiPartUpload:
case GetS3Secret:
case GetDelegationToken:
case RenewDelegationToken:
case CancelDelegationToken:
return false;
default:
LOG.error("CmdType {} is not categorized as readOnly or not.", cmdType);