@@ -126,7 +126,7 @@ public void testParameterMatch() throws Exception {
126
126
@ Test
127
127
public void testListParamsInclude () throws Exception {
128
128
// We expose a few metrics through JMX
129
- registerMBean (new SimpleTestJavaApp (), "org.datadog.jmxfetch.test:type=RightType" );
129
+ registerMBean (new SimpleTestJavaApp (), "org.datadog.jmxfetch.test:foo=bar, type=RightType" );
130
130
131
131
// Initializing application
132
132
initApplication ("jmx_list_params_include.yaml" );
@@ -276,7 +276,6 @@ public void testApp() throws Exception {
276
276
assertMetric ("test.boolean" , 1.0 , commonTags , 5 );
277
277
assertMetric ("test.defaulted" , 32.0 , commonTags , 5 );
278
278
assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
279
- assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
280
279
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic42" , 42.0 , commonTags , 5 );
281
280
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic4242" , 4242.0 , commonTags , 5 );
282
281
assertMetric ("jmx.org.datadog.jmxfetch.test.object1337" , 13.37 , commonTags , 5 );
@@ -300,7 +299,6 @@ public void testApp() throws Exception {
300
299
assertMetric ("test.boolean" , 1.0 , commonTags , 5 );
301
300
assertMetric ("test.defaulted" , 32.0 , commonTags , 5 );
302
301
assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
303
- assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
304
302
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic42" , 42.0 , commonTags , 5 );
305
303
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic4242" , 4242.0 , commonTags , 5 );
306
304
assertMetric ("jmx.org.datadog.jmxfetch.test.object1337" , 13.37 , commonTags , 5 );
@@ -331,7 +329,6 @@ public void testApp() throws Exception {
331
329
assertMetric ("test.boolean" , 1.0 , commonTags , 5 );
332
330
assertMetric ("test.defaulted" , 32.0 , commonTags , 5 );
333
331
assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
334
- assertMetric ("subattr.this.is.0" , 0.0 , commonTags , 5 );
335
332
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic42" , 42.0 , commonTags , 5 );
336
333
assertMetric ("jmx.org.datadog.jmxfetch.test.atomic4242" , 4242.0 , commonTags , 5 );
337
334
assertMetric ("jmx.org.datadog.jmxfetch.test.object1337" , 13.37 , commonTags , 5 );
0 commit comments