You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/12/19 20:21:33 UTC

ambari git commit: AMBARI-8835. Unit test failure on Centos5.

Repository: ambari
Updated Branches:
  refs/heads/trunk 156b9b547 -> bee937981


AMBARI-8835. Unit test failure on Centos5.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bee93798
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bee93798
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bee93798

Branch: refs/heads/trunk
Commit: bee937981cbc837af98af3d787fedef511a8d738
Parents: 156b9b5
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Fri Dec 19 11:03:43 2014 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Fri Dec 19 11:03:43 2014 -0800

----------------------------------------------------------------------
 ambari-metrics/ambari-metrics-host-monitoring/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bee93798/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-host-monitoring/pom.xml b/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
index 6080c8d..c213057 100644
--- a/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
+++ b/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
@@ -112,7 +112,7 @@
             </goals>
             <configuration>
               <target name="psutils-compile">
-                <exec dir="${basedir}/src/main/python/psutil" executable="python" failonerror="true">
+                <exec dir="${basedir}/src/main/python/psutil" executable="${project.basedir}/../../ambari-common/src/main/unix/ambari-python-wrap" failonerror="true">
                   <arg value="setup.py" />
                   <arg value="build" />
                   <arg value="--build-platlib" />
@@ -130,7 +130,7 @@
         <executions>
           <execution>
             <configuration>
-              <executable>python</executable>
+              <executable>${project.basedir}/../../ambari-common/src/main/unix/ambari-python-wrap</executable>
               <workingDirectory>src/test/python</workingDirectory>
               <arguments>
                 <argument>unitTests.py</argument>