File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import { describe , expect , it } from 'vitest'
2+ import { DEFAULT_EXECUTION_TIMEOUT_MS } from '@/lib/core/execution-limits'
23import {
34 categorizeError ,
45 createMcpToolId ,
@@ -81,8 +82,8 @@ describe('generateMcpServerId', () => {
8182} )
8283
8384describe ( 'MCP_CONSTANTS' , ( ) => {
84- it . concurrent ( 'has correct execution timeout (5 minutes) ' , ( ) => {
85- expect ( MCP_CONSTANTS . EXECUTION_TIMEOUT ) . toBe ( 300000 )
85+ it . concurrent ( 'has correct execution timeout' , ( ) => {
86+ expect ( MCP_CONSTANTS . EXECUTION_TIMEOUT ) . toBe ( DEFAULT_EXECUTION_TIMEOUT_MS )
8687 } )
8788
8889 it . concurrent ( 'has correct cache timeout (5 minutes)' , ( ) => {
@@ -107,8 +108,8 @@ describe('MCP_CONSTANTS', () => {
107108} )
108109
109110describe ( 'MCP_CLIENT_CONSTANTS' , ( ) => {
110- it . concurrent ( 'has correct client timeout (5 minutes) ' , ( ) => {
111- expect ( MCP_CLIENT_CONSTANTS . CLIENT_TIMEOUT ) . toBe ( 300000 )
111+ it . concurrent ( 'has correct client timeout' , ( ) => {
112+ expect ( MCP_CLIENT_CONSTANTS . CLIENT_TIMEOUT ) . toBe ( DEFAULT_EXECUTION_TIMEOUT_MS )
112113 } )
113114
114115 it . concurrent ( 'has correct auto refresh interval (5 minutes)' , ( ) => {
You can’t perform that action at this time.
0 commit comments