From e7849db76b9f2f53ea9678725a56849575926263 Mon Sep 17 00:00:00 2001 From: Helen Yang Date: Thu, 11 Aug 2022 16:46:46 -0700 Subject: [PATCH] Fix ci tests --- .../processors/SpanExporterWithAttributeProcessorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/processors/SpanExporterWithAttributeProcessorTest.java b/agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/processors/SpanExporterWithAttributeProcessorTest.java index 29859dbeecd..971b933a21a 100644 --- a/agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/processors/SpanExporterWithAttributeProcessorTest.java +++ b/agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/processors/SpanExporterWithAttributeProcessorTest.java @@ -1373,7 +1373,7 @@ void actionInsertWithExtractTest() { SpanData resultSpan = result.get(0); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpProtocol"))) - .isEqualTo("io/opentelemetry/instrumentation/api/instrumenter/http"); + .isEqualTo("http"); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpDomain"))) .isEqualTo("example.com"); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpPath"))) @@ -1420,7 +1420,7 @@ void actionInsertWithExtractDuplicateTest() { SpanData resultSpan = result.get(0); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpProtocol"))) - .isEqualTo("io/opentelemetry/instrumentation/api/instrumenter/http"); + .isEqualTo("http"); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpDomain"))) .isEqualTo("example.com"); assertThat(resultSpan.getAttributes().get(AttributeKey.stringKey("httpPath")))