Skip to content

Commit bea9203

Browse files
author
Changjian Wang
committed
Fix surefire include pattern to only match generated/Sample*.java
Exclude src/samples/.../samples/Sample*.java standalone examples from test execution.
1 parent 451a119 commit bea9203

File tree

1 file changed

+2
-2
lines changed
  • sdk/contentunderstanding/azure-ai-contentunderstanding

1 file changed

+2
-2
lines changed

sdk/contentunderstanding/azure-ai-contentunderstanding/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
<!-- Include standard test naming conventions -->
8686
<include>**/*Test.java</include>
8787
<include>**/*Tests.java</include>
88-
<!-- Include Sample files as tests (they extend ContentUnderstandingClientTestBase) -->
89-
<include>**/Sample*.java</include>
88+
<!-- Include Sample files from generated package only (exclude samples package standalone examples) -->
89+
<include>**/generated/Sample*.java</include>
9090
</includes>
9191
</configuration>
9292
</plugin>

0 commit comments

Comments
 (0)