Skip to content

add tests for dynamodb and fix condition when checking if table exists #1402

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

Merged

Conversation

larhauga
Copy link
Contributor

This change includes some minor restructure of the dynamodb locking package to enable unit testing to ensure the correct handling.

This should also fix #1324 by not trying to create the table every time.

@larhauga
Copy link
Contributor Author

larhauga commented May 8, 2024

@motatoes is there anything I can do here to move this PR along? :)

@ZIJ
Copy link
Contributor

ZIJ commented May 8, 2024

hey @larhauga massive thanks for your contribution, we are a bit behind on reviewing PRs due to working on some enterprise requirements, but we'll catch up soon!!

@motatoes
Copy link
Contributor

motatoes commented May 9, 2024

Thanks for creating the dynamoDB mock and the mocking interface, great work there !

@motatoes motatoes merged commit a9a4bd3 into diggerhq:develop May 9, 2024
4 checks passed
ben-of-codecraft pushed a commit to ben-of-codecraft/digger that referenced this pull request May 21, 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.

createTableIfNotExists tries to create a table when it already exists
3 participants