forked from phoenix/litellm-mirror
test(test_caching.py): fix cache test if embedding call is fast
This commit is contained in:
parent
d542eb1552
commit
8d4749b94a
1 changed files with 2 additions and 2 deletions
|
@ -723,8 +723,8 @@ def test_cache_override():
|
|||
print(f"Embedding 2 response time: {end_time - start_time} seconds")
|
||||
|
||||
assert (
|
||||
end_time - start_time > 0.1
|
||||
) # ensure 2nd response comes in over 0.1s. This should not be cached.
|
||||
end_time - start_time > 0.05
|
||||
) # ensure 2nd response comes in over 0.05s. This should not be cached.
|
||||
|
||||
|
||||
# test_cache_override()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue