Skip to content

Commit 9bbb440

Browse files
committed
debug
1 parent ce83dfe commit 9bbb440

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

agent/instrumentation/micrometer-1.0/src/test/java/MicrometerTest.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.junit.jupiter.api.parallel.Execution;
3131

3232
@Execution(SAME_THREAD)
33+
@SuppressWarnings("SystemOut")
3334
class MicrometerTest {
3435

3536
private AgentTestingMicrometerDelegate delegate;
@@ -62,6 +63,8 @@ void shouldNotDoubleRegisterAzureMonitorMeterRegistry() {
6263

6364
@Test
6465
void shouldCaptureTimeGauge() {
66+
System.out.println("shouldCaptureTimeGauge");
67+
6568
// given
6669
CompositeMeterRegistry registry = Metrics.globalRegistry;
6770
TimeGauge.builder("test-time-gauge", "", MILLISECONDS, obj -> 11.0).register(registry);
@@ -79,6 +82,8 @@ void shouldCaptureTimeGauge() {
7982

8083
@Test
8184
void shouldCaptureGauge() {
85+
System.out.println("shouldCaptureGauge");
86+
8287
// given
8388
CompositeMeterRegistry registry = Metrics.globalRegistry;
8489

@@ -99,6 +104,8 @@ void shouldCaptureGauge() {
99104
@Disabled
100105
@Test
101106
void shouldCaptureCounter() {
107+
System.out.println("shouldCaptureCounter");
108+
102109
// given
103110
CompositeMeterRegistry registry = Metrics.globalRegistry;
104111

@@ -119,6 +126,8 @@ void shouldCaptureCounter() {
119126

120127
@Test
121128
void shouldCaptureTimer() {
129+
System.out.println("shouldCaptureTimer");
130+
122131
// given
123132
CompositeMeterRegistry registry = Metrics.globalRegistry;
124133
Timer timer = Timer.builder("test-timer").register(registry);
@@ -141,6 +150,8 @@ void shouldCaptureTimer() {
141150

142151
@Test
143152
void shouldCaptureDistributionSummary() {
153+
System.out.println("shouldCaptureDistributionSummary");
154+
144155
// given
145156
CompositeMeterRegistry registry = Metrics.globalRegistry;
146157
DistributionSummary distributionSummary =
@@ -164,6 +175,8 @@ void shouldCaptureDistributionSummary() {
164175

165176
@Test
166177
void shouldCaptureLongTaskTimer() {
178+
System.out.println("shouldCaptureLongTaskTimer");
179+
167180
// given
168181
CompositeMeterRegistry registry = Metrics.globalRegistry;
169182

@@ -221,6 +234,8 @@ void shouldCaptureLongTaskTimer() {
221234

222235
@Test
223236
void shouldCaptureFunctionCounter() {
237+
System.out.println("shouldCaptureFunctionCounter");
238+
224239
// given
225240
CompositeMeterRegistry registry = Metrics.globalRegistry;
226241

@@ -242,6 +257,8 @@ void shouldCaptureFunctionCounter() {
242257

243258
@Test
244259
void shouldCaptureFunctionTimer() {
260+
System.out.println("shouldCaptureFunctionTimer");
261+
245262
// given
246263
CompositeMeterRegistry registry = Metrics.globalRegistry;
247264

0 commit comments

Comments
 (0)