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

Fix SQS tests assuming the query service response structure #684

Merged
merged 5 commits into from
Jul 2, 2024

Conversation

ararslan
Copy link
Member

@ararslan ararslan commented Jul 2, 2024

In #637, SQS changed from a QueryService to a JSONService (expectedly). The response obtained when interacting with SQS using the query protocol includes a field called <ActionName>Result, where <ActionName> is the action requested. The JSON protocol does not include that field. Thus I believe we can fix (or at least partially fix) #683 by simply deleting that additional getindex call.

In PR 637, SQS changed from a `QueryService` to a `JSONService`. The
response obtained when interacting with SQS using the query protocol
includes a field called `<ActionName>Result`, where `<ActionName>` is
the action requested. The JSON protocol does not include that field.
Thus we can fix issue 683 by simply deleting that additional `getindex`
call.
@ararslan
Copy link
Member Author

ararslan commented Jul 2, 2024

This fixes the SQS failures that were the original scope of the PR, though there's still the credential loading failure, so this doesn't fully fix #683 as is. Still better than the status quo so I'll go ahead and merge and the credential thing can be addressed separately.

@ararslan ararslan merged commit d7e4dca into master Jul 2, 2024
3 of 6 checks passed
@ararslan ararslan deleted the aa/fix-sqs-json-response branch July 2, 2024 16:24
@ararslan ararslan mentioned this pull request Jul 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants