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 #936: handle slow metrics for get_put_monitor_eqc #938

Merged
merged 1 commit into from
May 10, 2014

Conversation

vinoski
Copy link
Contributor

@vinoski vinoski commented May 10, 2014

On slow systems the get_put_monitor_eqc test could fail due to not waiting
long enough for folsom metrics updates. Add bounded wait for metrics to
become non-negative before checking them against expected results. Also
increase max test time from 120 to 150 to avoid test timeout on slow
systems.

On slow systems the get_put_monitor_eqc test could fail due to not waiting
long enough for folsom metrics updates. Add bounded wait for metrics to
become non-negative before checking them against expected results. Also
increase max test time from 120 to 150 to avoid test timeout on slow
systems.
@andrewjstone
Copy link
Contributor

Yay! Nice work @vinoski
Still not sure why folsom would ever have values below 0 for counters, but I'm a rational person mostly, so maybe that's it.

@andrewjstone
Copy link
Contributor

+1 ca0dc39

borshop added a commit that referenced this pull request May 10, 2014
fix #936: handle slow metrics for get_put_monitor_eqc

Reviewed-by: andrewjstone
@vinoski
Copy link
Contributor Author

vinoski commented May 10, 2014

@andrewjstone it appeared that a series of increments and decrements of the metrics had just not finished by the time the tests sampled them for comparison against expected values, and the symptom was always that the metrics had negative values when failing. My change just checks the metrics for negative values before comparing them, giving them a little more time to settle and reach their ultimate values first.

vinoski added a commit that referenced this pull request May 10, 2014
fix #936: handle slow metrics for get_put_monitor_eqc
@vinoski vinoski merged commit 8e0e057 into develop May 10, 2014
@seancribbs
Copy link
Contributor

@vinoski In the future, it's best to say "@borshop merge"

@seancribbs seancribbs deleted the vinoski/fix-936 branch May 10, 2014 19:57
@vinoski
Copy link
Contributor Author

vinoski commented May 10, 2014

good to know, thanks @seancribbs

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.

4 participants