chore: telemetry test

# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-09-10 12:10:23 -07:00
parent e980436a2e
commit 9bd1814d5b
3 changed files with 10 additions and 17 deletions

View file

@ -46,10 +46,7 @@ def setup_telemetry_metrics_data(openai_client, client_with_models, text_model_i
break
except Exception:
pass
time.sleep(1)
# Wait additional time to ensure all metrics are processed
time.sleep(5)
time.sleep(0.1)
# Return the token lists for use in tests
return {"prompt_tokens": prompt_tokens, "completion_tokens": completion_tokens, "total_tokens": total_tokens}