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: integ test for AppSync DataSource -> DDB connector #3049

Merged
merged 5 commits into from
Mar 22, 2023

Conversation

ssenchenko
Copy link
Contributor

@ssenchenko ssenchenko commented Mar 22, 2023

Issue #, if available

Description of changes

The test has never worked because I forgot to add resolvers. I tested Trigger function in another stack where I had resolvers, so it worked. The test didn't fail because lambda_client.invoke returns always its own status, which is 200 unless Lambda service failed.

Both issues are fixed now. Resolvers are added, TriggerFunction changed to raise an error instead of returning status 400 in case of failure.

Description of how you validated changes

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ssenchenko ssenchenko requested a review from a team as a code owner March 22, 2023 05:55
@ssenchenko ssenchenko merged commit 517e692 into aws:develop Mar 22, 2023
@ssenchenko ssenchenko deleted the imrove-test branch March 22, 2023 17:21
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.

4 participants