Food,Code and Cloud Computing. You can support here :https://www.buymeacoffee.com/anishansari
Markdown supported · ⌘↵ to post
The same key with a different cart is a useful case to include in the drill. The happy-path retry test could pass while that mix-up still returns a result for the wrong request.
Anish Ansari
Crownforge
I would add a crash test after the order transaction commits but before the key is marked completed. On retry, how do you find the existing order and avoid decrementing stock again? The provider key covers the charge, but that local step needs a guard too