Repository: ambari
Updated Branches:
  refs/heads/trunk 8a49b60f6 -> 0a745f8ba


AMBARI-16265. Storm python tests are brocken.(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: 0a745f8bacf924b13cb4ba5d444dec45fd492830
Parents: 8a49b60
Author: Vitaly Brodetskyi <[email protected]>
Authored: Thu May 5 12:01:50 2016 +0300
Committer: Vitaly Brodetskyi <[email protected]>
Committed: Thu May 5 12:01:50 2016 +0300

----------------------------------------------------------------------
 .../src/test/python/stacks/2.1/STORM/test_storm_ui_server.py     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0a745f8b/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py 
b/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
index a61f5ed..101fbe6 100644
--- a/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
+++ b/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
@@ -69,7 +69,7 @@ class TestStormUiServer(TestStormBase):
         user = 'storm',
         not_if = "ambari-sudo.sh su storm -l -s /bin/bash -c 
'[RMF_EXPORT_PLACEHOLDER]ls /var/run/storm/ui.pid >/dev/null 2>&1 && ps -p `cat 
/var/run/storm/ui.pid` >/dev/null 2>&1'",
     )
-    self.assertResourceCalled('Execute', "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | 
grep backtype.storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep 
backtype.storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid",
+    self.assertResourceCalled('Execute', "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | 
grep storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ 
| awk {'print $1'} > /var/run/storm/ui.pid",
         logoutput = True,
         path = ['/usr/bin'],
         tries = 12,
@@ -144,7 +144,7 @@ class TestStormUiServer(TestStormBase):
         user = 'storm',
         not_if = "ambari-sudo.sh su storm -l -s /bin/bash -c 
'[RMF_EXPORT_PLACEHOLDER]ls /var/run/storm/ui.pid >/dev/null 2>&1 && ps -p `cat 
/var/run/storm/ui.pid` >/dev/null 2>&1'",
     )
-    self.assertResourceCalled('Execute', "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | 
grep backtype.storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep 
backtype.storm.ui.core$ | awk {'print $1'} > /var/run/storm/ui.pid",
+    self.assertResourceCalled('Execute', "/usr/jdk64/jdk1.7.0_45/bin/jps -l  | 
grep storm.ui.core$ && /usr/jdk64/jdk1.7.0_45/bin/jps -l  | grep storm.ui.core$ 
| awk {'print $1'} > /var/run/storm/ui.pid",
         logoutput = True,
         path = ['/usr/bin'],
         tries = 12,

Reply via email to