Skip to content
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

fix atMost + timeout verify #1185

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

dsame
Copy link

@dsame dsame commented Nov 21, 2023

This is addressed to fix #1169

In the current implementation the TimeoutVerifier.verify exits as soon as it reached the first success condition, but having the upper limit set with atMost we can not be sure this condition won't fail in the rest of timeout.

In order to wait until the timeout i propose this quick fix which prevents TimeoutVerifier.verify to exit too early.

This PoC draft PR and need to be tested.

this is addressed to fix mockk#1169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verify with timeout not working after version 1.13.7
1 participant