Skip to content

Commit

Permalink
skip test, change rescaling threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
luciotorre committed Jan 30, 2012
1 parent 7d074ff commit ce5dd11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions txstatsd/stats/exponentiallydecayingsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class ExponentiallyDecayingSample(object):
library/publications/CormodeShkapenyukSrivastavaXu09.pdf>}
"""

# 1 hour (in seconds)
RESCALE_THRESHOLD = 60 * 60
# 10 minutes (in seconds)
RESCALE_THRESHOLD = 60 * 10

def __init__(self, reservoir_size, alpha, wall_time=None):
"""Creates a new C{ExponentiallyDecayingSample}.
Expand Down
2 changes: 2 additions & 0 deletions txstatsd/tests/stats/test_exponentiallydecayingsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ def wtime():
self.assertEqual(sample.size(), 100)
self.assertEqual(len(sample.get_values()), 100,
'Should have 100 elements')
test_ewma_sample_load.skip = "takes too long to run"

0 comments on commit ce5dd11

Please sign in to comment.