mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
test(perf): require only the always-built request-log indexes in the nightly database upgrade test
The error code index is size-capped and left for an operator on tables over 4 GiB, so the full-size upgrade snapshot never gets it and the lane's index assertion would fail every night.
This commit is contained in:
parent
4471416c1a
commit
3c24e51e04
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ def main() -> int:
|
|||
UNION (SELECT request_id FROM "LiteLLM_SpendLogs" ORDER BY request_id DESC LIMIT 32)""").fetchall()
|
||||
ids: Final = tuple(row[0] for row in _STRINGS.validate_python(sample))
|
||||
assert ids, "Restored baseline has no spend logs"
|
||||
names: Final = tuple(index.name for index in request_log_indexes.REQUEST_LOG_INDEXES)
|
||||
names: Final = tuple(index.name for index in request_log_indexes.REQUEST_LOG_INDEXES if index.max_bytes is None)
|
||||
migrations: Final = Path(request_log_indexes.__file__).parent / "migrations"
|
||||
initial: Final = UpgradeState(
|
||||
phase="schema",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue