fix(test_key_generate_prisma.py): add longer delay to allow logs to update

This commit is contained in:
Krrish Dholakia 2024-02-02 17:51:05 -08:00 committed by ishaan-jaff
parent ddf3e51545
commit c997d4b0ce

View file

@ -965,7 +965,7 @@ def test_call_with_key_over_budget(prisma_client):
start_time=datetime.now(), start_time=datetime.now(),
end_time=datetime.now(), end_time=datetime.now(),
) )
await asyncio.sleep(4) await asyncio.sleep(10)
# test spend_log was written and we can read it # test spend_log was written and we can read it
spend_logs = await view_spend_logs(request_id=request_id) spend_logs = await view_spend_logs(request_id=request_id)