jon-wei commented on a change in pull request #11941:
URL: https://github.com/apache/druid/pull/11941#discussion_r754783236
##########
File path:
extensions-core/s3-extensions/src/test/java/org/apache/druid/data/input/s3/S3InputSourceTest.java
##########
@@ -535,6 +539,48 @@ public void testReader() throws IOException
EasyMock.verify(S3_CLIENT);
}
+ @Test(expected = SdkClientException.class)
+ public void
testReaderRetriesOnSdkClientExceptionButNeverSucceedsThenThrows() throws
Exception
Review comment:
Hm, the test took 6m when I tried it, which feels excessive. I think
it'd be fine to modify `ObjectSummaryIterator` to have a fetch retry count
parameter, which you could set from S3InputSource (maybe in a test-only path if
you don't feel like exposing that in the JSON constructor)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]