Repository: ambari
Updated Branches:
  refs/heads/trunk 77a7b8266 -> a13574471


AMBARI-5065 Rolling restart should also handle clients on the same machine as 
the restarting component. Additional unit test assertion (dsen)


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

Branch: refs/heads/trunk
Commit: a13574471eb8152fbb33ec609eb15e400325dedd
Parents: 77a7b82
Author: Dmitry Sen <[email protected]>
Authored: Tue Mar 18 16:19:49 2014 +0200
Committer: Dmitry Sen <[email protected]>
Committed: Tue Mar 18 16:19:49 2014 +0200

----------------------------------------------------------------------
 .../src/test/python/ambari_agent/TestActualConfigHandler.py         | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a1357447/ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py
----------------------------------------------------------------------
diff --git 
a/ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py 
b/ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py
index bfe48a5..6e4973e 100644
--- a/ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py
+++ b/ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py
@@ -98,6 +98,7 @@ class TestActualConfigHandler(TestCase):
     self.assertEquals(tags1, handler.read_actual_component('HDFS_CLIENT'))
     handler.write_client_components('HDFS', tags2)
     self.assertEquals(tags2, handler.read_actual_component('HDFS_CLIENT'))
+    self.assertEquals(tags1, handler.read_actual_component('HBASE_CLIENT'))
 
     os.remove(os.path.join(tmpdir, "DATANODE_" + 
ActualConfigHandler.CONFIG_NAME))
     os.remove(os.path.join(tmpdir, "HBASE_CLIENT_" + 
ActualConfigHandler.CONFIG_NAME))

Reply via email to