-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Aws::S3::Client.stub_responses doesn't stub metadata anymore? #1346
Comments
I'm able to recreate this, taking a look. |
It looks like this changed with PR #1216 |
What's interesting is that the PR above seems to create the correct HTTP response, with metadata in the header instead of in the response body (which obviously would not exist with a |
Self Note: This doesn't appear to be broken for actual calls to the S3 endpoint (thankfully), checking for differences in stubbed and end-to-end responses. |
The responses seem to be the same at most levels, the issues occurs somewhere deep in the XML parsing stack. |
It appears that body parsing of the stubbed XML response for |
Additionally, this issue only occurs for |
I've cut a PR that fixes the symptoms of this issue, but I'm going to have it reviewed before shipping, as there are a couple open problems. In any case, thanks for raising this. |
We've pushed a fix for this that will go out with the next release. |
I'm in course of upgrading aws-sdk gems in my projects. Unfortunately my tests goes red 😞
In aws-sdk v 2.2.37 I could stub metadata:
In current 2.6.28:
Is it error or should I stub metadata other way?
The text was updated successfully, but these errors were encountered: