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 cloud thresholds #894

Merged
merged 3 commits into from
Jan 15, 2019
Merged

Fix cloud thresholds #894

merged 3 commits into from
Jan 15, 2019

Conversation

mstoykov
Copy link
Contributor

No description provided.

Previously if threshold fails once it marked as failed forever. This is
okay for local run because what we actually report at the end is if the
last threshold check has failed so this threshold failed marking is not
taken into consideration. But the cloud collector and the cloud
collector only takes this as the final result.

This probably should be fixed in some better way such that the final
threshold result is actually given to the collectors to report (if they
do) but this is outside the scope of this commit.

The fix is simply to mark the threshold as failed every time it is
checked this way if it fails once and then it stops failing it will
be marked as not failed again.
@codecov-io
Copy link

codecov-io commented Jan 14, 2019

Codecov Report

Merging #894 into master will decrease coverage by <.01%.
The diff coverage is 86.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #894      +/-   ##
==========================================
- Coverage   69.83%   69.82%   -0.01%     
==========================================
  Files         112      112              
  Lines        8777     8776       -1     
==========================================
- Hits         6129     6128       -1     
  Misses       2251     2251              
  Partials      397      397
Impacted Files Coverage Δ
stats/cloud/collector.go 70.38% <0%> (ø) ⬆️
stats/thresholds.go 93.25% <95%> (-0.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1df7bf...d5a2d2f. Read the comment docs.

Copy link
Member

@na-- na-- left a comment

Choose a reason for hiding this comment

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

LGTM besides the release notes message, 👍 👍 for the comments and the un-exporting of types!

release notes/upcoming.md Outdated Show resolved Hide resolved
@mstoykov mstoykov merged commit 8e93f26 into master Jan 15, 2019
@mstoykov mstoykov deleted the fixCloudThresholds branch January 15, 2019 09:57
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.

3 participants