You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2017/01/11 15:51:15 UTC
ambari git commit: AMBARI-19405. Allow running a subset of Python
unit tests in ambari-agent. (Attila Doroszlai via oleewere)
Repository: ambari
Updated Branches:
refs/heads/trunk ca20cb82d -> d8fccbbc8
AMBARI-19405. Allow running a subset of Python unit tests in ambari-agent. (Attila Doroszlai via oleewere)
Change-Id: Iba200230a7a5c36854d3fa0160034c65e2e6c82b
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d8fccbbc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d8fccbbc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d8fccbbc
Branch: refs/heads/trunk
Commit: d8fccbbc8c531e9b38d689f11bbd4933a73694e0
Parents: ca20cb8
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Wed Jan 11 16:50:32 2017 +0100
Committer: oleewere <ol...@gmail.com>
Committed: Wed Jan 11 16:50:32 2017 +0100
----------------------------------------------------------------------
ambari-agent/pom.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d8fccbbc/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 35fba19..1e18069 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -50,6 +50,7 @@
<resourcesFolder>${ambari.server.module}/src/main/resources</resourcesFolder>
<customActionsLocation>${target.cache.dir}/custom_actions</customActionsLocation>
<empty.dir>src/packages/tarball</empty.dir> <!-- any directory in project with not very big amount of files (not to waste-load them) -->
+ <python.test.mask>[Tt]est*.py</python.test.mask>
</properties>
<dependencies>
<dependency>
@@ -164,6 +165,7 @@
<workingDirectory>src/test/python</workingDirectory>
<arguments>
<argument>unitTests.py</argument>
+ <argument>${python.test.mask}</argument>
</arguments>
<environmentVariables>
<PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH>