Skip to content

Commit 68df00c

Browse files
committed
fix test
1 parent edb8aef commit 68df00c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qa/L0_http/generate_endpoint_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ def test_type_size_explosion(self):
282282
input_bytes = bytes(input_data)
283283
input_str = base64.b64encode(input_bytes).decode("utf-8")
284284
inputs = {"PROMPT": input_str, "STREAM": False}
285-
error_msg = "Request JSON size of 67108864 + 22369655 bytes exceeds the maximum allowed input size. Use --http-max-input-size to increase the limit."
285+
error_msg = "Request JSON size of 89478519 + 22369655 bytes exceeds the maximum allowed input size. Use --http-max-input-size to increase the limit."
286286
self.generate_expect_failure(self._model_name, inputs, error_msg)
287287

288288
inputs = {
289289
"INPUT0": input_str[0 : (len(input_str) // 2)],
290290
"INPUT1": input_str[(len(input_str) // 2) :],
291291
"STREAM": False,
292292
}
293-
error_msg = "Request JSON size of 67108864 + 22369669 bytes exceeds the maximum allowed input size. Use --http-max-input-size to increase the limit."
293+
error_msg = "Request JSON size of 89478519 + 22369669 bytes exceeds the maximum allowed input size. Use --http-max-input-size to increase the limit."
294294
self.generate_expect_failure(self._model_name, inputs, error_msg)
295295

296296
def test_duplicate_inputs(self):

0 commit comments

Comments
 (0)