You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/08/01 15:55:30 UTC
git commit: AMBARI-6682. Add generate_config method to Script
(aonishuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 55bbcae46 -> d728f13bb
AMBARI-6682. Add generate_config method to Script (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d728f13b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d728f13b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d728f13b
Branch: refs/heads/trunk
Commit: d728f13bb004e48f9b9d965c595a31220f35f110
Parents: 55bbcae
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Fri Aug 1 16:55:15 2014 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Fri Aug 1 16:55:15 2014 +0300
----------------------------------------------------------------------
ambari-server/pom.xml | 2 +-
.../src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d728f13b/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 1c5f5d5..22aa454 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -921,7 +921,7 @@
<argument>${custom.tests}</argument>
</arguments>
<environmentVariables>
- <PYTHONPATH>${project.basedir}/../ambari-agent/src/main/python:${project.basedir}/../ambari-common/src/main/python/jinja2:${project.basedir}/../ambari-common/src/main/python:${project.basedir}/../ambari-common/src/main/python/ambari_commons:${project.basedir}/../ambari-common/src/main/python/resource_management:${project.basedir}/../ambari-common/src/test/python:${project.basedir}/src/main/python:${project.basedir}/src/main/python/ambari-server-state:${project.basedir}/src/test/python:$PYTHONPATH</PYTHONPATH>
+ <PYTHONPATH>${project.basedir}/../ambari-common/src/main/python:${project.basedir}/../ambari-agent/src/main/python:${project.basedir}/../ambari-common/src/main/python/jinja2:${project.basedir}/../ambari-common/src/main/python/ambari_commons:${project.basedir}/../ambari-common/src/test/python:${project.basedir}/src/main/python:${project.basedir}/src/main/python/ambari-server-state:${project.basedir}/src/test/python:$PYTHONPATH</PYTHONPATH>
</environmentVariables>
<skip>${skipTests}</skip>
</configuration>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d728f13b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
index 2f2ca5a..1a9e1f8 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
@@ -29,7 +29,7 @@ from stacks.utils.RMFTestCase import *
@patch.object(tempfile,"mkdtemp", new = MagicMock(return_value='/tmp/123'))
@patch.object(contextlib,"closing", new = MagicMock())
@patch("os.path.exists", new = MagicMock(return_value=True))
-class TestDatanode(RMFTestCase):
+class Test(RMFTestCase):
def test_generate_configs_default(self):
self.executeScript("2.0.6/services/HDFS/package/scripts/hdfs_client.py",