Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid cross-test config contamination
Browse files Browse the repository at this point in the history
tjquinno committed Jan 24, 2025
1 parent 30f1bf6 commit 115d4dd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions microprofile/telemetry/pom.xml
Original file line number Diff line number Diff line change
@@ -152,7 +152,26 @@
<configuration>
<systemPropertyVariables>
<otel.bsp.schedule.delay>${otel.bsp.schedule.delay}</otel.bsp.schedule.delay>
<otel.sdk.disabled>false</otel.sdk.disabled>
</systemPropertyVariables>
<excludes>
<exclude>**/AgentDetectorTest.java</exclude>
</excludes>
</configuration>
</execution>
<execution>
<!--
This test does not need an active OTel SDK so run it separately to prevent it from running first
and leaving other tests with a no-op Otel which will cause them to fail.
-->
<id>agent-detector-tests</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/AgentDetectorTest.java</include>
</includes>
</configuration>
</execution>
</executions>

0 comments on commit 115d4dd

Please sign in to comment.