Adds a hit counter to the bad webhook and asserts it is attempted at least 3 times, proving the watermill retry middleware actually fires on a failing delivery. We use GreaterOrEqual rather than an exact count because gochannel resends nacked messages, so a permanently failing delivery keeps running through retry cycles until the test times out its wait window. |
||
|---|---|---|
| .. | ||
| integrations.go | ||
| main_test.go | ||
| user_webhook_test.go | ||
| webhook_multi_test.go | ||
| webhook_test.go | ||