add test case for new metrics (#1115)

pull/964/merge
Manabu Matsuzaki 7 years ago committed by Brett Wooldridge
parent 3313174891
commit 3b4322eae6

@ -33,6 +33,8 @@ public class MicrometerMetricsTrackerTest {
Assert.assertNotNull(mockMeterRegistry.find("hikaricp.connections.idle").tag("pool", "mypool").gauge());
Assert.assertNotNull(mockMeterRegistry.find("hikaricp.connections.active").tag("pool", "mypool").gauge());
Assert.assertNotNull(mockMeterRegistry.find("hikaricp.connections.pending").tag("pool", "mypool").gauge());
Assert.assertNotNull(mockMeterRegistry.find("hikaricp.connections.max").tag("pool", "mypool").gauge());
Assert.assertNotNull(mockMeterRegistry.find("hikaricp.connections.min").tag("pool", "mypool").gauge());
testee.close();
}

Loading…
Cancel
Save