浏览代码

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

Dmitry Sen 11 年之前
父节点
当前提交
a13574471e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py

+ 1 - 0
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))