Samrat002 commented on code in PR #28951:
URL: https://github.com/apache/flink/pull/28951#discussion_r3781162941


##########
flink-filesystems/flink-s3-fs-native/src/test/java/org/apache/flink/fs/s3native/writer/InMemoryNativeS3Operations.java:
##########
@@ -67,6 +67,15 @@ public final class InMemoryNativeS3Operations extends 
NativeS3ObjectOperations {
     /** uploadId → partNumber → uploaded bytes for in-flight MPUs. */
     public final Map<String, Map<Integer, byte[]>> openMultipartUploads = new 
HashMap<>();
 
+    /** When {@code true}, {@link #uploadPart} throws to simulate a 
part-upload failure. */
+    public boolean failUploadPart = false;

Review Comment:
   Added closeSurfacesTempFileDeletionFailure. PTAL



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to