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.
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.
3.2.0-preview-3
https://dev.azure.com/codit/1c8932c0-4bd6-4248-afa1-9936a7f1b63f/_apis/build/builds/57343/logs/36