You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dd...@apache.org on 2011/12/10 08:06:29 UTC

svn commit: r1212741 - /incubator/ambari/trunk/agent/src/test/python/TestHeartbeat.py

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.')