[Hawkular-commits] [hawkular/hawkular-metrics] 4b5f4d: HWKMETRICS-160 Fix Intermittent test failures in G...
Michael Burman
yak at iki.fi
Thu Jul 2 04:44:25 EDT 2015
Branch: refs/heads/master
Home: https://github.com/hawkular/hawkular-metrics
Commit: 4b5f4d01694cad840d190bfa63abd535b04dd924
https://github.com/hawkular/hawkular-metrics/commit/4b5f4d01694cad840d190bfa63abd535b04dd924
Author: Thomas Segismont <tsegismo at redhat.com>
Date: 2015-06-29 (Mon, 29 Jun 2015)
Changed paths:
M clients/ptranslator/src/test/java/org/hawkular/metrics/clients/ptrans/fullstack/GraphiteITest.java
Log Message:
-----------
HWKMETRICS-160 Fix Intermittent test failures in GraphiteITest
When EmbeddedJMXTrans is stopped, it collects and sends metrics one last time after the schedulers have
been shut down. So two data points can have very close timestamps. But Graphite only supports second
resolution. So it is possible that two points with the same timestamp (see #getTimestamp logic) are sent
to the server. Consequently, when building the expected data set, we need to check if one metric has two
points with the same timestamp, and, in this case, keep the older one only.
Commit: 8ca363d5705feb1e4cf8b72002a0fa0ae74aa733
https://github.com/hawkular/hawkular-metrics/commit/8ca363d5705feb1e4cf8b72002a0fa0ae74aa733
Author: Michael Burman <yak at iki.fi>
Date: 2015-07-02 (Thu, 02 Jul 2015)
Changed paths:
M clients/ptranslator/src/test/java/org/hawkular/metrics/clients/ptrans/fullstack/GraphiteITest.java
Log Message:
-----------
Merge pull request #275 from tsegismont/jira/HWKMETRICS-160
HWKMETRICS-160 Fix Intermittent test failures in GraphiteITest
Compare: https://github.com/hawkular/hawkular-metrics/compare/87340d0128b3...8ca363d5705f
More information about the hawkular-commits
mailing list