mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-23 05:34:41 +00:00
The integration conftest raised UsageError from pytest_collection_modifyitems when a shard-selected file collected nothing. Under xdist that ran on the workers after the unfiltered item list was already published, so the worker ended its session with tests still queued and the controller hit xdist's crashitem assertion, naming an unrelated queued test and hiding the real ImportError. A selected file that collects nothing now produces a failed collection report instead. Files whose own collection already failed keep pytest's real error. Serial runs stop with "Interrupted: N errors during collection", xdist runs report the error and exit 1, and both still fail the shard. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_budget.py | ||
| test_database_relay.py | ||
| test_ordering.py | ||
| test_process.py | ||
| test_routing.py | ||
| test_sdk_models.py | ||
| test_sharding.py | ||
| test_timing.py | ||
| test_translation.py | ||
| test_upstream.py | ||
| test_workers.py | ||