Skip to content

Commit

Permalink
节点管理-免评审: 节点管理「管控区域」「agent版本」筛选能力优化 (closed TencentBlueKing#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Huayeaaa committed Dec 27, 2023
1 parent 90e7025 commit 3ac9319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/node_man/tests/test_handlers/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def test_fetch_plugin_version_condition(self):
result = MetaHandler().fetch_plugin_version_condition(params={"bk_biz_ids": [27, 30]})
self.assertLessEqual(len(result), 11)
# 验证传入没有的业务ID的情况
result = MetaHandler().fetch_plugin_version_condition(params={"bk_biz_ids": [1, 2, 3]})
result = MetaHandler().fetch_plugin_version_condition(params={"bk_biz_ids": [789987]})
# 无法预知线上GLOBAL_SETTINGS中HEAD_PLUGINS数量,故取一个较大的值
self.assertLessEqual(len(result), 30)

Expand Down

0 comments on commit 3ac9319

Please sign in to comment.