- 
                Notifications
    You must be signed in to change notification settings 
- Fork 25.6k
Exercise multi-part uploads in S3 repo analysis tests #125669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -29,7 +29,7 @@ public void testRepositoryAnalysis() throws Exception { | |
| final Request request = new Request(HttpPost.METHOD_NAME, "/_snapshot/" + repository + "/_analyze"); | ||
| request.addParameter("blob_count", "10"); | ||
| request.addParameter("concurrency", "4"); | ||
| request.addParameter("max_blob_size", "1mb"); | ||
| request.addParameter("max_blob_size", randomFrom("1mb", "10mb")); | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it worth increasing the range to 15 or 20? To get more than 2 chunks? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2 is enough, I can't really see how we could get this right with 2 chunks but wrong with more. | ||
| request.addParameter("timeout", "120s"); | ||
| request.addParameter("seed", Long.toString(randomLong())); | ||
| assertOK(client().performRequest(request)); | ||
|  | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use actual value from the repositorySettings? Hard to guess relationship between those two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is abstract so no we can't see anything S3-specific here.