@@ -31,16 +31,7 @@ import (
3131 testutils "github.com/llm-d/llm-d-router/test/utils"
3232)
3333
34- const (
35- // requestTimeout bounds text-only chat completions (prefill, decode).
36- requestTimeout = 60 * time .Second
37- // multimodalRequestTimeout bounds multimodal chat completions, which add the
38- // replace-media-urls, render, and encode stages: each image is fetched (e.g.
39- // from S3) and run through the encoder, so the round-trip runs well past the
40- // text-only budget. 600s matches the default client request timeout vLLM
41- // applies to its multimodal and chat-completion serving tests.
42- multimodalRequestTimeout = 600 * time .Second
43- )
34+ const requestTimeout = 60 * time .Second
4435
4536// testImageURL and testImageURL2 are publicly accessible images used to
4637// exercise multimodal requests that trigger the encode stage.
@@ -177,11 +168,7 @@ func runCoordinatorPipeline(body []byte, expectedSteps []string, expectedImages
177168 gomega .Expect (err ).ShouldNot (gomega .HaveOccurred ())
178169 req .Header .Set ("Content-Type" , "application/json" )
179170
180- timeout := requestTimeout
181- if expectedImages > 0 {
182- timeout = multimodalRequestTimeout
183- }
184- client := & http.Client {Timeout : timeout }
171+ client := & http.Client {Timeout : requestTimeout }
185172 resp , err := client .Do (req )
186173 gomega .Expect (err ).ShouldNot (gomega .HaveOccurred ())
187174 defer resp .Body .Close ()
0 commit comments