Skip to content

Commit

Permalink
Separate new test from older ones to avoid interference
Browse files Browse the repository at this point in the history
  • Loading branch information
tjquinno committed Jan 17, 2024
1 parent 1cbfe66 commit a9f01c2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tracing/opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

<properties>
<version.lib.opentelemetry-sdk-extension-autoconfigure>1.22.0-alpha</version.lib.opentelemetry-sdk-extension-autoconfigure>
<version.lib.opentelemetry-sdk>1.22.0</version.lib.opentelemetry-sdk>
</properties>

<dependencies>
Expand Down Expand Up @@ -75,6 +76,7 @@
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
<version>${version.lib.opentelemetry-sdk}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -95,4 +97,35 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>default-test</id>
<configuration>
<excludes>
<exclude>**/TestSpanAndBaggage.java</exclude>
</excludes>
</configuration>
</execution>
<execution>
<!-- Run in a separate execution so other tests interfere. -->
<id>test-with-explicit-app</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/TestSpanAndBaggage.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit a9f01c2

Please sign in to comment.