Skip to content

Commit ed8003b

Browse files
committed
remove unused variable
1 parent 1a15a6f commit ed8003b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smoke-tests/apps/OpenTelemetryMetric/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/OpenTelemetryMetricTestToAmw.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ abstract class OpenTelemetryMetricTestToAmw {
4444
@TargetUri("/trackDoubleCounterMetric")
4545
void trackDoubleCounterMetric() throws Exception {
4646
validateCounterMetric("trackDoubleCounterMetric");
47-
validateOtlpMetricsReceived("trackDoubleCounterMetric");
47+
validateOtlpMetricsReceived();
4848
}
4949

5050
private void validateCounterMetric(String name) throws Exception {
@@ -144,7 +144,7 @@ private void validateCounterMetric(String name) throws Exception {
144144
assertThat(properties3).containsEntry("_MS.SentToAMW", "True");
145145
}
146146

147-
private void validateOtlpMetricsReceived(String name) throws Exception {
147+
private void validateOtlpMetricsReceived() throws Exception {
148148
await()
149149
.atMost(10, SECONDS)
150150
.untilAsserted(

0 commit comments

Comments
 (0)