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

View File

@ -183,6 +183,10 @@ public static boolean isReadOnly(
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);