mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
test(test_lowest_latency_routing.py): use the correct cache key
This commit is contained in:
parent
5bc44353e0
commit
6a8d518e44
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ def test_latency_updated_custom_ttl():
|
|||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
)
|
||||
latency_key = f"{model_group}_latency_map"
|
||||
latency_key = f"{model_group}_map"
|
||||
print(f"cache: {test_cache.get_cache(key=latency_key)}")
|
||||
assert isinstance(test_cache.get_cache(key=latency_key), dict)
|
||||
time.sleep(cache_time)
|
||||
assert test_cache.get_cache(key=latency_key) is None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue