From 3ac93196c75f0efedbe87335ec33e91573095107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?v=5Fdcdding=28=E4=B8=81=E8=B6=85=E8=BE=BE=29?= <1151627903@qq.com> Date: Wed, 27 Dec 2023 15:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E7=AE=A1=E7=90=86-=E5=85=8D?= =?UTF-8?q?=E8=AF=84=E5=AE=A1:=20=20=E8=8A=82=E7=82=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=8C=E7=AE=A1=E6=8E=A7=E5=8C=BA=E5=9F=9F=E3=80=8D=E3=80=8C?= =?UTF-8?q?agent=E7=89=88=E6=9C=AC=E3=80=8D=E7=AD=9B=E9=80=89=E8=83=BD?= =?UTF-8?q?=E5=8A=9B=E4=BC=98=E5=8C=96=20(closed=20#1752)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/node_man/tests/test_handlers/test_meta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/node_man/tests/test_handlers/test_meta.py b/apps/node_man/tests/test_handlers/test_meta.py index 3e9277562..25ab086bf 100644 --- a/apps/node_man/tests/test_handlers/test_meta.py +++ b/apps/node_man/tests/test_handlers/test_meta.py @@ -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)