You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by om...@apache.org on 2011/12/11 16:16:23 UTC
svn commit: r1213011 - in /incubator/ambari/trunk: CHANGES.txt
agent/src/test/python/TestHardware.py
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)