Skip to content
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

SQS change message visibility timeout from QueuePoller #821

Closed
ianneub opened this issue May 19, 2015 · 2 comments
Closed

SQS change message visibility timeout from QueuePoller #821

ianneub opened this issue May 19, 2015 · 2 comments

Comments

@ianneub
Copy link
Contributor

ianneub commented May 19, 2015

Using aws-sdk 2.0.44.

I'm having trouble changing the message timeout using the helper provided by the QueuePoller class.

undefined method `change_message_visibility_timeout' for #<Aws::SQS::Client>

/usr/local/bundle/gems/aws-sdk-resources-2.0.43/lib/aws-sdk-resources/services/sqs/queue_poller.rb:349

https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-resources/lib/aws-sdk-resources/services/sqs/queue_poller.rb#L349

@trevorrowe
Copy link
Member

Thanks for reporting the issue. The fix was a one-liner. The tests did not correctly catch this because they were asserting the wrong operation name was to be called. I've updated the test to not assert a specific method is called. Instead, I allow the client to receive and respond and to assert on the response.

Sorry for the inconvenience. The fix for this should be released later this week.

@ianneub
Copy link
Contributor Author

ianneub commented May 19, 2015

Wow, you're fast @trevorrowe ! Thanks for the fix!

@srchase srchase added the bug label Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants