litellm/tests/e2e/claude_code/_driver_unit_tests
Yuneng Jiang 9421b26bf6
fix(e2e): stage the seeded device id per thread, not per process
Build 232 took two compat cells red with a FileNotFoundError renaming
`.claude.json.197` onto `.claude.json`. `run_claude_models_parallel`
drives several models from one process, so a pid-suffixed staged name is
shared between threads: one thread renamed the file the other was still
writing, and the loser died on a path that no longer existed.

mkstemp in the same directory gives a name that is unique per thread as
well as per process, and the rename stays atomic.
2026-09-16 13:47:07 -07:00
..
__init__.py test(e2e): retry upstream-saturation failures in the claude CLI driver 2026-08-29 17:13:10 -07:00
test_request_determinism.py fix(e2e): stage the seeded device id per thread, not per process 2026-09-16 13:47:07 -07:00
test_retry_classification.py test(e2e): retry upstream-saturation failures in the claude CLI driver 2026-08-29 17:13:10 -07:00