This is an automated email from the ASF dual-hosted git repository. hulee pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/helix.git
commit 0f16687e56a4b6f7b0756e3ea1fecb79fa5bfd9f Author: chenboat <[email protected]> AuthorDate: Mon Aug 19 23:11:43 2019 -0700 Make the reservoir sliding window length used in Helix monintor metrics configurable. #382 --- .../org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java index 9ced8e8..a38fb66 100644 --- a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java +++ b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestZkClientMonitor.java @@ -156,9 +156,9 @@ public class TestZkClientMonitor { public void testCustomizedResetInterval() throws JMException, InterruptedException { // Use a customized reservoir sliding length of 1 ms. System.setProperty("reservoir.length.ms", "1"); - final String TEST_TAG = "test_tag_3"; - final String TEST_KEY = "test_key_3"; - final String TEST_INSTANCE = "test_instance_3"; + final String TEST_TAG = "test_tag_x"; + final String TEST_KEY = "test_key_x"; + final String TEST_INSTANCE = "test_instance_x"; ZkClientMonitor monitor = new ZkClientMonitor(TEST_TAG, TEST_KEY, TEST_INSTANCE, false, null); monitor.register();
