diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f84762bc..b11e86b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changes ======= +# 0.4.1 / 02-11-2014 +* [FEATURE/BUGFIX] Fetch more JVM (Non)Heap variables by default. See[bd8915c2f1eec794f406414b678ce6110407dce1](https://github.com/DataDog/jmxfetch/commit/bd8915c2f1eec794f406414b678ce6110407dce1) +* [BUGFIX] Memory leak fix when fetching attributes value is failing. See [#30][] + # 0.3.0 / 03-25-2014 #### Changes @@ -8,7 +12,7 @@ Changes + [FEATURE] Support custom instance tags: See [#28][] (Thanks [@coupacooke][]) * [FEATURE] Support new types: Boolean, String, java.lang.Number, AtomicInteger, AtomicLong: See [#25][] [#26][] (Thanks [@coupacooke][]) * [BUGFIX] Reset statsd connection: See [#19][] -* [BUGFIX] Refresh JMX tree: See [4374b92cbf1b93d88fa5bd9d7339907e16a2da4a](https://github.com/DataDog/jmxfetch/commit/4374b92cbf1b93d88fa5bd9d7339907e16a2da4a) +* [BUGFIX] Refresh JMX tree: See [4374b92cbf1b93d88fa5bd9d7339907e16a2da4a](https://github.com/DataDog/jmxfetch/commit/4374b92cbf1b93d88fa5bd9d7339907e16a2da4a) [#14]: https://github.com/DataDog/jmxfetch/issues/14 @@ -16,4 +20,5 @@ Changes [#25]: https://github.com/DataDog/jmxfetch/issues/25 [#26]: https://github.com/DataDog/jmxfetch/issues/26 [#28]: https://github.com/DataDog/jmxfetch/issues/28 -[@coupacooke]: https://github.com/coupacooke +[#30]: https://github.com/DataDog/jmxfetch/issues/30 +[@coupacooke]: https://github.com/coupacooke \ No newline at end of file diff --git a/src/test/java/org/datadog/jmxfetch/TestApp.java b/src/test/java/org/datadog/jmxfetch/TestApp.java index 9d678a411..9cd7c4d5b 100644 --- a/src/test/java/org/datadog/jmxfetch/TestApp.java +++ b/src/test/java/org/datadog/jmxfetch/TestApp.java @@ -349,7 +349,7 @@ public void testApp() throws Exception { assertEquals(tags.length, 5); // The value should be a bit less than 1.0, as we incremented the counter by 5 and we slept for 5 seconds assertTrue(value < 1.00); - assertTrue(value > 0.99); + assertTrue(value > 0.98); counterAbsent = false; } else if (name.equals("subattr.this.is.0")) { assertEquals(tags.length, 5); @@ -375,7 +375,7 @@ public void testApp() throws Exception { assertEquals(tags.length, 5); // The value should be a bit less than 1.0, as we incremented the counter by 5 and we slept for 5 seconds assertTrue(value < 1.00); - assertTrue(value > 0.99); + assertTrue(value > 0.98); subattrCounterAbsent = false; } else if (name.equals("jmx.org.datadog.jmxfetch.test.atomic42")) { assertEquals(tags.length, 5);