Skip to content

Commit 57151a7

Browse files
committed
spotless
1 parent 08973e1 commit 57151a7

4 files changed

Lines changed: 23 additions & 11 deletions

File tree

dd-trace-core/src/test/java/datadog/trace/common/metrics/ClientStatsAggregatorTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,11 @@ void measuredSpansDoNotContributeToTopLevelCount(
665665
}
666666
}
667667

668-
@TableTest({"scenario | count", "count = 10 | 10 ", "count = 100 | 100 "})
668+
@TableTest({
669+
"scenario | count",
670+
"count = 10 | 10 ",
671+
"count = 100 | 100 "
672+
})
669673
void aggregateRepetitiveSpans(int count) throws Exception {
670674
MetricWriter writer = mock(MetricWriter.class);
671675
Sink sink = mock(Sink.class);

dd-trace-core/src/test/java/datadog/trace/core/monitor/HealthMetricsTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,11 @@ void testOnCloseScope() throws InterruptedException {
340340
verifyNoMoreInteractions(statsD);
341341
}
342342

343-
@TableTest({"scenario | manual", "automatic | false ", "manual | true "})
343+
@TableTest({
344+
"scenario | manual",
345+
"automatic | false ",
346+
"manual | true "
347+
})
344348
@ParameterizedTest(name = "testOnScopeCloseError [{index}]")
345349
void testOnScopeCloseError(boolean manual) throws InterruptedException {
346350
CountDownLatch latch = new CountDownLatch(manual ? 2 : 1);

dd-trace-core/src/test/java/datadog/trace/lambda/LambdaHandlerTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ void testStartInvocationFailure() {
133133

134134
@TableTest(
135135
value = {
136-
"scenario | expected | eHeaderValue | tIdHeaderValue | sIdHeaderValue | sPIdHeaderValue | lambdaResult | boolValue | lambdaReqIdHeaderValue",
137-
"error with non-string result | true | 'true' | '1234' | '5678' | 2 | | true | 'request123' ",
138-
"success with string result | true | | '1234' | '5678' | 2 | '12345 ' | false | 'request456' "
139-
})
136+
"scenario | expected | eHeaderValue | tIdHeaderValue | sIdHeaderValue | sPIdHeaderValue | lambdaResult | boolValue | lambdaReqIdHeaderValue",
137+
"error with non-string result | true | 'true' | '1234' | '5678' | 2 | | true | 'request123' ",
138+
"success with string result | true | | '1234' | '5678' | 2 | '12345 ' | false | 'request456' "
139+
})
140140
void testEndInvocationSuccess(
141141
boolean expected,
142142
String eHeaderValue,
@@ -177,10 +177,10 @@ void testEndInvocationSuccess(
177177

178178
@TableTest(
179179
value = {
180-
"scenario | expected | headerValue | lambdaResult | boolValue | lambdaReqIdHeaderValue",
181-
"error with non-string result | false | 'true' | | true | 'request123' ",
182-
"success with string result | false | | '12345' | false | 'request456' "
183-
})
180+
"scenario | expected | headerValue | lambdaResult | boolValue | lambdaReqIdHeaderValue",
181+
"error with non-string result | false | 'true' | | true | 'request123' ",
182+
"success with string result | false | | '12345' | false | 'request456' "
183+
})
184184
void testEndInvocationFailure(
185185
boolean expected,
186186
String headerValue,

utils/container-utils/src/test/java/datadog/common/container/ContainerInfoTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,11 @@ void readEntityIDReturnCidContainerIdIfContainerIdIsDefined(
275275
}
276276
// spotless:on
277277

278-
@TableTest({"cid", " ", "'' "})
278+
@TableTest({
279+
"cid",
280+
" ",
281+
"'' "
282+
})
279283
void readEntityIDReturnNullIfContainerIdIsNotDefinedAndIsHostCgroupNamespace(String cid) {
280284
ContainerInfo containerInfo = new ContainerInfo();
281285
containerInfo.setContainerId(cid);

0 commit comments

Comments
 (0)