HDDS-969. Fix TestOzoneManagerRatisServer test failure. Contributed by Bharat Viswanadham.
This commit is contained in:
parent
396ffba1aa
commit
695e93c2bb
@ -171,6 +171,8 @@ public static boolean isReadOnly(
|
||||
case DeleteS3Bucket:
|
||||
case InitiateMultiPartUpload:
|
||||
case CommitMultiPartUpload:
|
||||
case CompleteMultiPartUpload:
|
||||
case AbortMultiPartUpload:
|
||||
return false;
|
||||
default:
|
||||
LOG.error("CmdType {} is not categorized as readOnly or not.", cmdType);
|
||||
|
@ -126,7 +126,6 @@ public void testSubmitRatisRequest() throws Exception {
|
||||
public void testIsReadOnlyCapturesAllCmdTypeEnums() throws Exception {
|
||||
GenericTestUtils.LogCapturer logCapturer = GenericTestUtils.LogCapturer
|
||||
.captureLogs(LoggerFactory.getLogger(OmUtils.class));
|
||||
String clientId = UUID.randomUUID().toString();
|
||||
OzoneManagerProtocolProtos.Type[] cmdTypes =
|
||||
OzoneManagerProtocolProtos.Type.values();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user