diff --git a/opencensus-shim/src/test/java/io/opentelemetry/opencensusshim/internal/metrics/MetricAdapterTest.java b/opencensus-shim/src/test/java/io/opentelemetry/opencensusshim/internal/metrics/MetricAdapterTest.java index 07d7c3b462f..9d1a582aa44 100644 --- a/opencensus-shim/src/test/java/io/opentelemetry/opencensusshim/internal/metrics/MetricAdapterTest.java +++ b/opencensus-shim/src/test/java/io/opentelemetry/opencensusshim/internal/metrics/MetricAdapterTest.java @@ -194,9 +194,9 @@ void convertsDoubleSum() { @Test void convertHistogram() { - Map exemplarAttachements = new HashMap<>(); + Map exemplarAttachments = new HashMap<>(); // TODO - Import opencensus util for a code-dependent test on common exemplar-trace usage. - exemplarAttachements.put( + exemplarAttachments.put( "SpanContext", AttachmentValue.AttachmentValueString.create( "SpanContext{traceId=TraceId{traceId=00000000000000000000000000000001}, spanId=SpanId{spanId=0000000000000002}, others=stuff}")); @@ -226,7 +226,7 @@ void convertHistogram() { Distribution.Bucket.create( 6, Exemplar.create( - 4.0, Timestamp.fromMillis(1), exemplarAttachements)), + 4.0, Timestamp.fromMillis(1), exemplarAttachments)), Distribution.Bucket.create(2)))), Timestamp.fromMillis(2000))), Timestamp.fromMillis(1000))); @@ -311,9 +311,9 @@ void convertSummary() { @Test void convertGaugeHistogram() { - Map exemplarAttachements = new HashMap<>(); + Map exemplarAttachments = new HashMap<>(); // TODO - Import opencensus util for a code-dependent test on common exemplar-trace usage. - exemplarAttachements.put( + exemplarAttachments.put( "SpanContext", AttachmentValue.AttachmentValueString.create( "SpanContext{traceId=TraceId{traceId=00000000000000000000000000000001}, spanId=SpanId{spanId=0000000000000002}, others=stuff}")); @@ -343,7 +343,7 @@ void convertGaugeHistogram() { Distribution.Bucket.create( 6, Exemplar.create( - 4.0, Timestamp.fromMillis(1), exemplarAttachements)), + 4.0, Timestamp.fromMillis(1), exemplarAttachments)), Distribution.Bucket.create(2)))), Timestamp.fromMillis(2000))), Timestamp.fromMillis(1000)));