fix(test): задать часовой бюджет изменений для OSPF-сценария интеграционного теста

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
DenozordecandClaude Sonnet 5.5 committed 2026-11-15 21:24:31 +07:00
1 parent 44b5066f3a
commit 26cba792a8
1 file changed
+1 -1
+1 -1
View File
@@ -1540,7 +1540,7 @@ try {
} finally { nativeAliasFixtures = false } } finally { nativeAliasFixtures = false }
ospfFixtures = true ospfFixtures = true
fixtureVrfs = [...initialVrfs] fixtureVrfs = [...initialVrfs]
const ospfAccess = await createMcpConnection(mcpConnectionCreateSchema.parse({ name: "OSPF dependency test", mode: "approval", expiresAt: new Date(Date.now() + 1800000).toISOString(), permissions: ["mm:network:read", "mm:network:write"], scope: { serverIds: [1], operationIds: ["ros.ospf_instance.create", "ros.ospf_instance.delete", "ros.ospf_area.delete", "ros.ospf_template.create", "ros.ospf_template.update", "ros.ospf_template.delete", "operations.recover", "ros.bfd_configuration.create"], allowGlobal: false } }), actor) const ospfAccess = await createMcpConnection(mcpConnectionCreateSchema.parse({ name: "OSPF dependency test", mode: "approval", expiresAt: new Date(Date.now() + 1800000).toISOString(), permissions: ["mm:network:read", "mm:network:write"], scope: { serverIds: [1], operationIds: ["ros.ospf_instance.create", "ros.ospf_instance.delete", "ros.ospf_area.delete", "ros.ospf_template.create", "ros.ospf_template.update", "ros.ospf_template.delete", "operations.recover", "ros.bfd_configuration.create"], allowGlobal: false }, limits: { callsPerMinute: 120, mutationsPerHour: 1000 } }), actor)
const ospfPrincipal = await authenticateMcpToken(ospfAccess.token) const ospfPrincipal = await authenticateMcpToken(ospfAccess.token)
const { readRosSnapshot: readPassiveSnapshot } = await import("./resources.js") const { readRosSnapshot: readPassiveSnapshot } = await import("./resources.js")
const passiveFixture = fixtureOspf["interface-template"][0] as Record<string, unknown>, previousPassive = passiveFixture.passive const passiveFixture = fixtureOspf["interface-template"][0] as Record<string, unknown>, previousPassive = passiveFixture.passive