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

Return non-zero exit code if log count assertion with is 0 is used #1844

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented Aug 13, 2024

Aims to close #1843

If there is a timeout when trying to find the target value, currently it returns 0.
But if we use is 0, then it's exactly what we were looking for, giving us a false positive.

Now, we return the last known value.

@rzadp rzadp requested a review from pepoviola as a code owner August 13, 2024 17:04
@pepoviola
Copy link
Collaborator

Thanks @rzadp, looks great!

@pepoviola pepoviola merged commit 7873bb3 into main Aug 13, 2024
22 of 23 checks passed
@pepoviola pepoviola deleted the rzadp/fix-log-count-0 branch August 13, 2024 17:40
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.

is 0 log count assertion always returns code zero
2 participants