suztomo commented on a change in pull request #14527:
URL: https://github.com/apache/beam/pull/14527#discussion_r616243271



##########
File path: 
sdks/java/extensions/google-cloud-platform-core/src/test/java/org/apache/beam/sdk/extensions/gcp/util/GcsUtilTest.java
##########
@@ -497,21 +497,30 @@ public void testGetSizeBytesWhenFileNotFoundBatchRetry() 
throws Exception {
             + "\n";
     thrown.expect(FileNotFoundException.class);
 
-    final LowLevelHttpResponse mockResponse = 
Mockito.mock(LowLevelHttpResponse.class);
-    when(mockResponse.getContentType()).thenReturn("multipart/mixed; 
boundary=" + contentBoundary);
+    final LowLevelHttpResponse[] mockResponses =
+        new LowLevelHttpResponse[] {
+          Mockito.mock(LowLevelHttpResponse.class), 
Mockito.mock(LowLevelHttpResponse.class),

Review comment:
       And today I came to know @kennknowles knew this 18 days ago already.
   
   https://github.com/apache/beam/pull/14218#issuecomment-812091162




-- 
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.

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


Reply via email to