This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 7fb47f062d Select testng as the test provider explicitly instead of
relying on the classpath. (#11612)
7fb47f062d is described below
commit 7fb47f062d022fd95319a984aec2c1155cbe77d4
Author: soumitra-st <[email protected]>
AuthorDate: Mon Sep 18 15:41:48 2023 -0700
Select testng as the test provider explicitly instead of relying on the
classpath. (#11612)
---
pom.xml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index a9c0718caa..117ef349cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,6 +180,7 @@
<!-- Configuration for Packaging -->
<shade.prefix>org.apache.pinot.shaded</shade.prefix>
+ <surefire.version>3.0.0-M5</surefire.version>
</properties>
<profiles>
@@ -1116,7 +1117,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-testng</artifactId>
- <version>3.0.0-M5</version>
+ <version>${surefire.versino}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
@@ -1415,7 +1416,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M5</version>
+ <version>${surefire.version}</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
@@ -1437,6 +1438,14 @@
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
</argLine>
</configuration>
+ <!-- Explicitly select the test provider, instead of relying on the
classpath -->
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.surefire</groupId>
+ <artifactId>surefire-testng</artifactId>
+ <version>${surefire.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]