-
Notifications
You must be signed in to change notification settings - Fork 156
test(idempotency): add e2e tests for idempotency #1442
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
dreamorosi
merged 17 commits into
aws-powertools:main
from
am29d:1098-end-to-end-tests-for-the-utility
May 12, 2023
Merged
Changes from 11 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c11408c
add flag (default true) to include index, so we can pass same payload…
d754104
split interface for decorator and function wrap
cdce3a7
tests
d7c7147
fix record return for sequential calls
cf8ca06
change to get command
2b7d2a4
fix unit tests based on new handler implementation
1467a5b
extend signature to pass array values to functions
49cabcb
add e2e and fix unit test for new signature
9a33f5e
refactor tests
decfb53
get back tear down
da4b035
cleanup test
d25386b
Merge branch 'main' into 1098-end-to-end-tests-for-the-utility
dreamorosi 656f130
fixed IdempotencyOption name
93da14a
fix relative import
f075640
use same uuid across the test
6a97ad4
refactored idempotency options type and fix tests
bc9874d
refactor IdempotencyHandler constructor
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export const RESOURCE_NAME_PREFIX = 'Idempotency-E2E'; | ||
|
||
export const ONE_MINUTE = 60 * 1_000; | ||
export const TEARDOWN_TIMEOUT = 5 * ONE_MINUTE; | ||
export const SETUP_TIMEOUT = 5 * ONE_MINUTE; | ||
export const TEST_CASE_TIMEOUT = 5 * ONE_MINUTE; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.