Explorar el Código

AMBARI-8835. Unit test failure on Centos5.

Siddharth Wagle hace 10 años
padre
commit
bee937981c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      ambari-metrics/ambari-metrics-host-monitoring/pom.xml

+ 2 - 2
ambari-metrics/ambari-metrics-host-monitoring/pom.xml

@@ -112,7 +112,7 @@
             </goals>
             </goals>
             <configuration>
             <configuration>
               <target name="psutils-compile">
               <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="setup.py" />
                   <arg value="build" />
                   <arg value="build" />
                   <arg value="--build-platlib" />
                   <arg value="--build-platlib" />
@@ -130,7 +130,7 @@
         <executions>
         <executions>
           <execution>
           <execution>
             <configuration>
             <configuration>
-              <executable>python</executable>
+              <executable>${project.basedir}/../../ambari-common/src/main/unix/ambari-python-wrap</executable>
               <workingDirectory>src/test/python</workingDirectory>
               <workingDirectory>src/test/python</workingDirectory>
               <arguments>
               <arguments>
                 <argument>unitTests.py</argument>
                 <argument>unitTests.py</argument>