You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ri...@apache.org on 2021/07/21 09:38:58 UTC
[phoenix-connectors] branch master updated: PHOENIX-6361 Enable
scala tests for phoenix-spark connector
This is an automated email from the ASF dual-hosted git repository.
richardantal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git
The following commit(s) were added to refs/heads/master by this push:
new 6c0771a PHOENIX-6361 Enable scala tests for phoenix-spark connector
6c0771a is described below
commit 6c0771aa8baa79abb687e4bb416a330b894b1e39
Author: Richard Antal <an...@gmail.com>
AuthorDate: Tue Jul 6 11:01:07 2021 +0200
PHOENIX-6361 Enable scala tests for phoenix-spark connector
Change-Id: I38e357cd524906f91c95880ac733989e63611c1e
---
phoenix-spark-base/pom.xml | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/phoenix-spark-base/pom.xml b/phoenix-spark-base/pom.xml
index 90c457d..e2eff57 100644
--- a/phoenix-spark-base/pom.xml
+++ b/phoenix-spark-base/pom.xml
@@ -35,6 +35,7 @@
<properties>
<top.dir>${project.basedir}/..</top.dir>
+ <skip-scala-tests>true</skip-scala-tests>
</properties>
<packaging>pom</packaging>
@@ -571,17 +572,10 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>WDF TestSuite.txt</filereports>
- <skipTests>true</skipTests>
+ <skipTests>${skip-scala-tests}</skipTests>
</configuration>
<executions>
<execution>
- <id>test</id>
- <phase>test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- </execution>
- <execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
@@ -592,8 +586,7 @@
to https://github.com/junit-team/junit4/issues/1223 -->
<parallel>false</parallel>
<tagsToExclude>Integration-Test</tagsToExclude>
- <argLine>-Xmx1536m -XX:MaxPermSize=512m
- -XX:ReservedCodeCacheSize=512m</argLine>
+ <argLine>-Xmx1536m -XX:ReservedCodeCacheSize=512m</argLine>
</configuration>
</execution>
</executions>
@@ -839,4 +832,17 @@
</plugins>
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>scala-tests-enabled</id>
+ <activation>
+ <property>
+ <name>scala-tests-enabled</name>
+ </property>
+ </activation>
+ <properties>
+ <skip-scala-tests>false</skip-scala-tests>
+ </properties>
+ </profile>
+ </profiles>
</project>