This is an automated email from the ASF dual-hosted git repository. brahma pushed a commit to branch branch-2.7 in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push: new ce16b114e1 AMBARI-25706: -DskipPythonTests is not skipping python tests in amabri-agent (#3599) ce16b114e1 is described below commit ce16b114e1eea5eccb23cfd233d581306a8e51d4 Author: Mohammad Arshad <arshad.mohamma...@gmail.com> AuthorDate: Thu Dec 8 23:29:21 2022 +0530 AMBARI-25706: -DskipPythonTests is not skipping python tests in amabri-agent (#3599) Signed-off-by: Brahma Reddy Battula <bra...@apache.org> --- ambari-agent/pom.xml | 2 +- ambari-project/pom.xml | 12 ++++++++++++ ambari-server/pom.xml | 13 +------------ 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml index 2fcbf8342d..911abf8b8c 100644 --- a/ambari-agent/pom.xml +++ b/ambari-agent/pom.xml @@ -254,7 +254,7 @@ <environmentVariables> <PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH> </environmentVariables> - <skip>${skipTests}</skip> + <skip>${skipPythonTests}</skip> </configuration> <id>python-test</id> <phase>test</phase> diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index aa6d94f011..447de84654 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -48,6 +48,7 @@ <forkCount>4</forkCount> <reuseForks>false</reuseForks> <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine> + <skipPythonTests>false</skipPythonTests> </properties> <profiles> <profile> @@ -86,6 +87,17 @@ </plugins> </build> </profile> + <profile> + <id>skipTestRun</id> + <activation> + <property> + <name>skipTests</name> + </property> + </activation> + <properties> + <skipPythonTests>true</skipPythonTests> + </properties> + </profile> </profiles> <dependencyManagement> <dependencies> diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index a3f90905c3..5081451e4d 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -47,7 +47,7 @@ <stackHooksLocation>src/main/resources/stack-hooks</stackHooksLocation> <stacksSrcLocation>src/main/resources/stacks/${stack.distribution}</stacksSrcLocation> <tarballResourcesFolder>src/main/resources</tarballResourcesFolder> - <skipPythonTests>false</skipPythonTests> + <hadoop.version>2.7.2</hadoop.version> <empty.dir>src/main/package</empty.dir> <!-- any directory in project with not very big amount of files (not to waste-load them) --> <el.log>ALL</el.log> <!-- log level for EclipseLink eclipselink-staticweave-maven-plugin --> @@ -879,17 +879,6 @@ </plugins> </build> </profile> - <profile> - <id>skipTestRun</id> - <activation> - <property> - <name>skipTests</name> - </property> - </activation> - <properties> - <skipPythonTests>true</skipPythonTests> - </properties> - </profile> <profile> <id>copy-swagger-generated-resources</id> <activation> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@ambari.apache.org For additional commands, e-mail: commits-h...@ambari.apache.org