-
Notifications
You must be signed in to change notification settings - Fork 853
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
Add stability test case to test issue #4608 #4757
Conversation
There are dependency issues with module |
IntFunction<CompletableFuture<?>> future = i -> { | ||
String keyName = computeKeyName(i); | ||
|
||
return testClient.putObject(b -> b.bucket(getTestBucketName()) |
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.
There's a chance that all concurrent requests are using the same checksum algorithm, can we pick a checksum algorithm based on index, like index % 4 and each one correlates to one of the supported checksum algorithms? This way, we can remove thenRunAsync
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.
Done
Yeap , it was caused by StaticCredentialProvider |
Just to confirm - the test fails on the code that has the bug, and it passes using master? |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Yeap , (mentioned in the the testing section). Done stability test in PR checks |
Motivation and Context
Test #4608
Root cause of #4608
The issue was fixed with revert #4621 and actual fix #4620
Following was the root cause
headerChecksumSpecs !=null
passes and it goes toHttpChecksumUtils.isHttpChecksumPresent(interceptorContext.httpRequest(), headerChecksumSpecs)
DefaultSdkHttpFullRequest.firstMatchingHeader
where it expects the string to be nonNull for a String compare to find the header in a Tree Map, thus ends up with NPEModifications
Testing
License