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

Allow to define minimum time for busy waiting #17

Open
rockem opened this issue Dec 29, 2019 · 4 comments
Open

Allow to define minimum time for busy waiting #17

rockem opened this issue Dec 29, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@rockem
Copy link
Owner

rockem commented Dec 29, 2019

In case the condition is fulfilled before the duration specified by 'at_least', an exception is thrown indicating that the condition shouldn't be completed earlier than the specified duration.
Example:
wait().at_least(5 * SECONDS).during(validation_operation)

@rockem rockem added the enhancement New feature or request label Dec 29, 2019
@amaziahub
Copy link
Contributor

 Hi,
 Can you pls assign to me ?

@rockem rockem assigned rockem and amaziahub and unassigned rockem Mar 6, 2024
rockem added a commit that referenced this issue Apr 17, 2024
* Introduce at_least functionality 
* DISCLAMER: Timeout message for min time isn't supported yet
---------

Co-authored-by: Amazia Gur <[email protected]>
Co-authored-by: Eli Segal <[email protected]>
@rockem
Copy link
Owner Author

rockem commented Apr 17, 2024

This feature also needs it's own timeout message:
How about:
Condition of [False] met earlier than expected minimum timeout 1 seconds

@amaziahub
Copy link
Contributor

than expected minimum timeout 1 seconds

are we going to work only in seconds ?

@rockem
Copy link
Owner Author

rockem commented Apr 18, 2024

@amaziahub yes, we an start with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants