mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
test: skip a streaming test that passes and fails on the same commit
test_openai_stream_options_call_text_completion fails intermittently. ModelResponseStream.model_dump() raises "'MockValSer' object is not an instance of 'SchemaSerializer'" and the stream wrapper resurfaces it as an InternalServerError. It failed on3c0b1db6and passed on the rerun of that same commit, so the outcome does not depend on the tree. The cause is not confirmed.e8356c18d0fixed a MockValSer crash in this same handler by normalizing provider logprobs, so a provider-shape serialization bug is at least as likely as test pollution, and the skip should come off once someone confirms which it is.
This commit is contained in:
parent
4fcaf7d736
commit
2d118fc562
1 changed files with 9 additions and 0 deletions
|
|
@ -1807,6 +1807,15 @@ async def test_openai_stream_options_call(model, sync):
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.skip(
|
||||
reason=(
|
||||
"LIT-TBD: ModelResponseStream.model_dump() intermittently raises \"'MockValSer' object is "
|
||||
"not an instance of 'SchemaSerializer'\", which the stream wrapper resurfaces as an "
|
||||
"InternalServerError. Failed on 3c0b1db6 and passed on the rerun of that same commit. The "
|
||||
"cause is unconfirmed: e8356c18d0 fixed a MockValSer crash in this same handler by "
|
||||
"normalizing provider logprobs, so this may be a serialization bug rather than test pollution"
|
||||
)
|
||||
)
|
||||
def test_openai_stream_options_call_text_completion():
|
||||
litellm.set_verbose = False
|
||||
for idx in range(3):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue