Skip to content

Commit

Permalink
Tck changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-Jiang authored and yasmin-aumeeruddy committed Aug 10, 2023
1 parent 6a3aa5c commit f6c3341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
7 changes: 1 addition & 6 deletions tracing/tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,7 @@
<artifactId>awaitility</artifactId>
<version>${version.awaitility}</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>

</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

import io.opentelemetry.api.baggage.Baggage;
import io.opentelemetry.api.trace.SpanKind;
import io.opentelemetry.api.trace.Tracer;
import io.opentelemetry.context.Scope;
import io.opentelemetry.sdk.autoconfigure.spi.traces.ConfigurableSpanExporterProvider;
import io.opentelemetry.sdk.trace.data.SpanData;
Expand All @@ -67,7 +66,7 @@ public static WebArchive createDeployment() {
.add("otel.traces.exporter", "in-memory");

return ShrinkWrap.create(WebArchive.class)
.addClasses(InMemorySpanExporter.class, InMemorySpanExporterProvider.class, HttpServletRequest.class,
.addClasses(InMemorySpanExporter.class, InMemorySpanExporterProvider.class,
JaxRsServerAsyncTestEndpointClient.class, JaxRsServerAsyncTestEndpoint.class)
.addAsLibrary(TestLibraries.AWAITILITY_LIB)
.addAsServiceProvider(ConfigurableSpanExporterProvider.class, InMemorySpanExporterProvider.class)
Expand All @@ -78,9 +77,6 @@ public static WebArchive createDeployment() {
private static final String TEST_VALUE = "test.value";
public static final String QUERY_VALUE = "bar";

@Inject
private Tracer tracer;

@Inject
private InMemorySpanExporter spanExporter;

Expand Down

0 comments on commit f6c3341

Please sign in to comment.