Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
80305c1b
Unverified
Commit
80305c1b
authored
Jul 15, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Jul 14, 2025
Browse files
[CI] Fix flaky `test_streaming_response` test (#20913)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
37e2ecac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tests/entrypoints/openai/test_transcription_validation.py
tests/entrypoints/openai/test_transcription_validation.py
+4
-2
No files found.
tests/entrypoints/openai/test_transcription_validation.py
View file @
80305c1b
...
...
@@ -154,7 +154,8 @@ async def test_streaming_response(winning_call):
file
=
winning_call
,
language
=
"en"
,
temperature
=
0.0
,
extra_body
=
dict
(
stream
=
True
))
extra_body
=
dict
(
stream
=
True
),
timeout
=
30
)
# Reconstruct from chunks and validate
async
for
chunk
in
res
:
# just a chunk
...
...
@@ -184,7 +185,8 @@ async def test_stream_options(winning_call):
temperature
=
0.0
,
extra_body
=
dict
(
stream
=
True
,
stream_include_usage
=
True
,
stream_continuous_usage_stats
=
True
))
stream_continuous_usage_stats
=
True
),
timeout
=
30
)
final
=
False
continuous
=
True
async
for
chunk
in
res
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment