7 Commits

Author SHA1 Message Date
PascalWithopf
bd8a1b8136 freeBSD: disable tests that are not working
FreeBSD is not able to run all tests, therefore all tests that can't be run will be disabled.
2017-10-27 12:18:59 +02:00
Janmejay Singh
8e54306bc7 migrated overflow test to imdiag<->statsobj coordination from elapsed-time-based-coordination (as this too is failing on builtbot fedora32x32) 2016-04-19 00:43:09 +05:30
Janmejay Singh
5f071af97f Fixed dyn-stats unused-metric-ttl bug which was was expected to garbage-collect accumulators that were unused for time-period >= ttl, but used to wipe all accumulators. This worked from memory-footprint and metric-life point-of-view, but used to reset accumulators even when they were configured to not be reset. Now it maintains survivor(shadow) table which keeps the accumulator value around from ttl up-to (2 * ttl) and reclaims it only if no dyn_inc call resurrects it by the end of this period. This allows us to resurrect surviving counters if they are used within ttl duration. This keeps a counter alive up-to (2 * ttl) in the worst case(late eviction) and ttl(timely eviction) in the best case. 2016-04-14 21:03:35 +05:30
Janmejay Singh
c66402598e Re-sync with dynstats recycle interval(as opposed to stats flush interval, which happens multiple-times per recycle). This was a bug in the way test was written. Introduced a new counter in dyn-stats subsystem which is incremented every time metrics in dyn-stats bucket are recycled. 2016-02-21 00:51:48 +05:30
Janmejay Singh
7a96794b12 made some changes to dyn-stats tests to make it more resillient to timing-problems (prevents bad-timing introduced occasional failures) 2015-11-17 17:48:59 +05:30
Janmejay Singh
c4a9e693c6 ensured dynstats overflow tests actually excercise 1 non-metric-name-resetting cycle too 2015-11-16 17:08:03 +05:30
Janmejay Singh
33cb11db57 dynstats reset-of-accumulated-dyn-metric-names and more-metrics-than-expected flows fixed and tested 2015-11-16 16:43:51 +05:30