-
Notifications
You must be signed in to change notification settings - Fork 406
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
Maintenance: Refactor Idempotency functional tests with DynamoDB Local #1360
Comments
This won't be necessary anymore. We completed E2E refactor and will move Idempotency to the new stack to use the real service to reduce maintenance burden with arrange/act |
|
|
Summary
As of now, writing tests for Idempotency is more costly than creating features or addressing bugs. This is largely due to the complex Boto stubber setup required - it's error prone.
DynamoDB Local official wording also changed to:
Except for the endpoint, applications that run with the downloadable version of Amazon DynamoDB should also work with the DynamoDB web service
.This gives us a good trade-off on performance (slower) and contract (closer, not exactly the same).
Why is this needed?
Reduce operational overhead and cognitive load when dealing with tests in Idempotency. Idempotency tests are the hardest to write across the entire code base, and this can lead to future errors as we try to cut corners to overcome the sheer complexity.
Which area does this relate to?
Idempotency
Solution
Use official Docker Image and create new tests with this approach, then recreate one test at a time to prevent regressions.
Acknowledgment
The text was updated successfully, but these errors were encountered: