incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1213011 - in /incubator/ambari/trunk: CHANGES.txt agent/src/test/python/TestHardware.py
Date Sun, 11 Dec 2011 15:16:23 GMT
Author: omalley
Date: Sun Dec 11 15:16:22 2011
New Revision: 1213011

URL: http://svn.apache.org/viewvc?rev=1213011&view=rev
Log:
AMBARI-151. Fix TestHardware when in offline mode. (omalley)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/agent/src/test/python/TestHardware.py

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1213011&r1=1213010&r2=1213011&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Sun Dec 11 15:16:22 2011
@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.1.0 - unreleased
 
+  AMBARI-151. Fix TestHardware when in offline mode. (omalley)
+
   AMBARI-150. Simplifies states in controller state machine (thejas via ddas)
 
   AMBARI-149. Filter the meta ambari category out of the flattened stacks.

Modified: incubator/ambari/trunk/agent/src/test/python/TestHardware.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/agent/src/test/python/TestHardware.py?rev=1213011&r1=1213010&r2=1213011&view=diff
==============================================================================
--- incubator/ambari/trunk/agent/src/test/python/TestHardware.py (original)
+++ incubator/ambari/trunk/agent/src/test/python/TestHardware.py Sun Dec 11 15:16:22 2011
@@ -26,5 +26,5 @@ class TestHardware(TestCase):
     hardware = Hardware()
     result = hardware.get()
     self.assertTrue(result['coreCount'] >= 1)
-    self.assertTrue(result['netSpeed'] >= 1)
+    self.assertTrue(result['netSpeed'] != None)
 



Mime
View raw message