You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/10/27 15:20:42 UTC

[14/16] ambari git commit: AMBARI-18717. Python UT fail on trunk (aonishuk)

AMBARI-18717. Python UT fail on trunk (aonishuk)


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

Branch: refs/heads/branch-feature-AMBARI-18634
Commit: 7e4f6209649e8f1ccb86e04ce1e2f54225e5375c
Parents: 6cc4431
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Thu Oct 27 16:36:11 2016 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Thu Oct 27 16:36:11 2016 +0300

----------------------------------------------------------------------
 .../src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7e4f6209/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py b/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py
index 9ec3b51..24cf271 100644
--- a/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py
+++ b/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py
@@ -296,6 +296,9 @@ class TestZeppelinMaster(RMFTestCase):
     self.assertResourceCalled('Execute', ('chown', '-R', u'zeppelin:zeppelin', '/etc/zeppelin'),
         sudo = True,
     )
+    self.assertResourceCalled('Execute', ('chown', '-R', 'zeppelin:zeppelin', '/usr/hdp/current/zeppelin-server/notebook'),
+        sudo = True,
+    )
     self.assertResourceCalled('Execute', '/usr/bin/kinit -kt /etc/security/keytabs/zeppelin.server.kerberos.keytab zeppelin@EXAMPLE.COM; ',
         user = 'zeppelin',
     )