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

Add tests covering v0.38.* thresholds regressions #2561

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

oleiade
Copy link
Member

@oleiade oleiade commented Jun 10, 2022

This Pull Request addresses #2525 and adds tests covering the thresholds-related regressions observed in v0.38.* versions as a result of further replacement of the thresholds' evaluation logic.

Specifically, this PR adds tests covering #2518, #2512 and #2520.

I've tried different approaches for testing, but adding test scripts illustrating the issue, and writing tests for the run command, just like with did for thresholds validation at init ended up being the simplest, clearest and most convenient.

closes #2525

@oleiade oleiade self-assigned this Jun 10, 2022
@oleiade oleiade added this to the v0.39.0 milestone Jun 10, 2022
na--
na-- previously approved these changes Jun 10, 2022
@na--
Copy link
Member

na-- commented Jun 10, 2022

though you should probably change the PR description to "closes #2525", so the issue will be closed automatically once the PR is merged

mstoykov
mstoykov previously approved these changes Jun 10, 2022
cmd/run_test.go Show resolved Hide resolved
olegbespalov
olegbespalov previously approved these changes Jun 10, 2022
@oleiade oleiade dismissed stale reviews from olegbespalov, mstoykov, and na-- via 59fab4b June 13, 2022 08:24
@oleiade oleiade force-pushed the test/thresholds_regressions_tests branch from 59fab4b to 6cb07e9 Compare June 13, 2022 08:25
@oleiade oleiade force-pushed the test/thresholds_regressions_tests branch from 6cb07e9 to 0ef355e Compare June 13, 2022 08:26
@oleiade oleiade merged commit aa06414 into master Jun 13, 2022
@oleiade oleiade deleted the test/thresholds_regressions_tests branch June 13, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add integration tests for thresholds
4 participants