incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r1212741 - /incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py
Date Sat, 10 Dec 2011 07:06:29 GMT
Author: ddas
Date: Sat Dec 10 07:06:29 2011
New Revision: 1212741

URL: http://svn.apache.org/viewvc?rev=1212741&view=rev
Log:
AMBARI-141. Added a test for installScriptHash

Modified:
    incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py

Modified: incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py?rev=1212741&r1=1212740&r2=1212741&view=diff
==============================================================================
--- incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py (original)
+++ incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py Sat Dec 10 07:06:29 2011
@@ -32,3 +32,4 @@ class TestHeartbeat(TestCase):
     self.assertEqual(result['hostname'], socket.gethostname(), 'hostname mismatched.')
     self.assertEqual(result['responseId'], 100, 'responseId mismatched.')
     self.assertEqual(result['idle'], True, 'Heartbeat should indicate Agent is idle.')
+    self.assertEqual(result['installScriptHash'], -1, 'installScriptHash should be -1.')



Mime
View raw message