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

improvement: enhanced checkExpiring macro with custom timeout #1023

Merged
merged 6 commits into from
Feb 9, 2024

Conversation

diegomrsantos
Copy link
Collaborator

@diegomrsantos diegomrsantos commented Feb 7, 2024

Changes:

Customizable Timeout: The macro now accepts a timeout parameter, allowing users to specify a custom duration for the condition check. This enhances flexibility, especially in scenarios where the default 10-second timeout might not be suitable.

Improved Condition Handling: The macro has been upgraded to support multiple conditions, each on a separate line. It behaves like the check macro and provides detailed diagnostics by indicating which specific condition was not satisfied and why.

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (04af0c4) 83.18% compared to head (cf76407) 83.18%.
Report is 1 commits behind head on unstable.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           unstable    #1023   +/-   ##
=========================================
  Coverage     83.18%   83.18%           
=========================================
  Files            91       91           
  Lines         15349    15351    +2     
=========================================
+ Hits          12768    12770    +2     
  Misses         2581     2581           

see 1 file with indirect coverage changes

@diegomrsantos diegomrsantos changed the title improve checkExpiring improvement: enhanced checkExpiring macro with custom timeout Feb 8, 2024
AlejandroCabeza
AlejandroCabeza previously approved these changes Feb 8, 2024
Copy link
Collaborator

@AlejandroCabeza AlejandroCabeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, nice qol

@diegomrsantos diegomrsantos merged commit e0f70b7 into unstable Feb 9, 2024
11 checks passed
@diegomrsantos diegomrsantos deleted the checkExpiring branch February 9, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants