arcus-azure / arcus.eventgrid

Azure Event Grid development in a breeze
https://eventgrid.arcus-azure.net/
MIT License
17 stars 6 forks source link

EventGrid testing functionality doesn't use time-out correctly #195

Closed stijnmoreels closed 2 years ago

stijnmoreels commented 2 years ago

Describe the bug When asserting on published events in a test environment, the time-out value is used but the wait-time isn't fully used. This is caused (probably) because the handling result function of the retry-function is wrongly implemented.

To Reproduce Try to call a failure and expect to wait the time-out.

Expected behavior The time-out is used correctly.

Additional context Add any other context about the problem here.

https://dev.azure.com/codit/1c8932c0-4bd6-4248-afa1-9936a7f1b63f/_apis/build/builds/57343/logs/36

stijnmoreels commented 2 years ago

It's a strange thing, this one, as it's very hard to reproduce.