|
83 | 83 | <snakeyaml.version>2.4</snakeyaml.version> |
84 | 84 | <snappy.version>1.1.10.8</snappy.version> |
85 | 85 | <spotless-maven-plugin.version>2.46.1</spotless-maven-plugin.version> |
86 | | - <surefire.version>2.21.0</surefire.version> |
| 86 | + <surefire.version>3.5.3</surefire.version> |
87 | 87 | <truth.version>1.4.5</truth.version> |
88 | 88 | <netty.version>4.1.125.Final</netty.version> |
89 | 89 |
|
|
366 | 366 | <excludedGroups>${excluded.spanner.tests}</excludedGroups> |
367 | 367 | <trimStackTrace>false</trimStackTrace> |
368 | 368 | <reportFormat>html</reportFormat> |
| 369 | + <enableOutErrElements>false</enableOutErrElements> |
| 370 | + <enablePropertiesElement>false</enablePropertiesElement> |
369 | 371 | <systemPropertyVariables> |
370 | 372 | <!-- Allow this project to be tested with JDK 21 --> |
371 | 373 | <net.bytebuddy.experimental>true</net.bytebuddy.experimental> |
372 | 374 | </systemPropertyVariables> |
373 | 375 | </configuration> |
| 376 | + <dependencies> |
| 377 | + <dependency> |
| 378 | + <!-- Specify JUnit4 provider as Templates tests currently using JUnit4 --> |
| 379 | + <groupId>org.apache.maven.surefire</groupId> |
| 380 | + <artifactId>surefire-junit47</artifactId> |
| 381 | + <version>${surefire.version}</version> |
| 382 | + </dependency> |
| 383 | + </dependencies> |
374 | 384 | </plugin> |
375 | 385 | <plugin> |
376 | 386 | <groupId>com.diffplug.spotless</groupId> |
|
514 | 524 | <plugin> |
515 | 525 | <groupId>org.apache.maven.plugins</groupId> |
516 | 526 | <artifactId>maven-surefire-report-plugin</artifactId> |
517 | | - <version>3.5.3</version> |
| 527 | + <version>${surefire.version}</version> |
518 | 528 | <configuration> |
519 | 529 | <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory> |
520 | 530 | <outputName>surefire-report</outputName> |
|
593 | 603 | <parallel>${itParallelismType}</parallel> |
594 | 604 | <threadCount>${itParallelism}</threadCount> |
595 | 605 | <trimStackTrace>false</trimStackTrace> |
| 606 | + <enableOutErrElements>false</enableOutErrElements> |
| 607 | + <enablePropertiesElement>false</enablePropertiesElement> |
596 | 608 | </configuration> |
597 | 609 | </plugin> |
598 | 610 | </plugins> |
|
749 | 761 | com.google.cloud.teleport.metadata.SkipDirectRunnerTest |
750 | 762 | </excludedGroups> |
751 | 763 | <groups> |
752 | | - ${integration.tests} |
753 | | - ${direct-runner.tests} |
| 764 | + ${integration.tests},${direct-runner.tests} |
754 | 765 | </groups> |
755 | 766 | <systemProperties> |
756 | 767 | <!-- Pass on the flag directRunnerTest to the templates test base --> |
|
793 | 804 | <include>**/*IT.java</include> |
794 | 805 | </includes> |
795 | 806 | <groups> |
796 | | - ${direct-runner.tests} |
797 | | - org.apache.beam.it.testcontainers.TestContainersIntegrationTest |
798 | | - org.apache.beam.it.gcp.GoogleCloudIntegrationTest |
| 807 | + ${direct-runner.tests},org.apache.beam.it.testcontainers.TestContainersIntegrationTest,org.apache.beam.it.gcp.GoogleCloudIntegrationTest |
799 | 808 | </groups> |
800 | 809 | <reuseForks>true</reuseForks> |
801 | 810 | <parallel>${itParallelismType}</parallel> |
802 | 811 | <threadCount>${itParallelism}</threadCount> |
803 | 812 | <trimStackTrace>false</trimStackTrace> |
| 813 | + <enableOutErrElements>false</enableOutErrElements> |
| 814 | + <enablePropertiesElement>false</enablePropertiesElement> |
804 | 815 | </configuration> |
805 | 816 | </plugin> |
806 | 817 | </plugins> |
|
0 commit comments