-
Notifications
You must be signed in to change notification settings - Fork 4.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
Fix regression from client switch over #1593
Conversation
Do we not have any functional tests for this? It would be nice to have a way to catch if this breaks again, even though |
We do not. I can see if we can add functional tests since we do not have any integration tests and since integration tests would be tricky to add. |
@jamesls What do you think? I think this would be nice to have but out of the scope of this PR because this is fixing a regression. |
@kyleknap am I correct in understanding that the functional test you've added would not have caught the issue fixed in this PR because we're not creating a bucket? |
It would have in the third test. The error happens before |
Oh I see. I didn't notice the third test. In that case, I'm not a huge fan of this because it doesn't really reflect reality. It may also cause additional maintenance on us if we ever support multiple status codes in the base test class. I'm really just after a test that uses a real client to ensure that we catch any interfaces breaking. What if we just instantiate that S3 helper class with a real client, but mock out the responses? |
8ba74d3
to
689b301
Compare
The configservice subscribe command was using an attribute that no longer existed.
689b301
to
df7acf0
Compare
Finally all of the leaky patches are fixed. That was rough. Good to look at it one more time. |
Fix regression from client switch over
The
configservice subscribe
command was using an attribute that no longer existed and was relyingon an internal attribute...
cc @jamesls @mtdowling @rayluo @JordonPhillips