groq[patch]: add retries to integration tests (#30707)

Tool-calling tests started intermittently failing with
> groq.APIError: Failed to call a function. Please adjust your prompt.
See 'failed_generation' for more details.
This commit is contained in:
ccurme
2025-04-07 12:45:53 -04:00
committed by GitHub
parent 4f9f97bd12
commit e106e9602f
3 changed files with 17 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ test tests:
uv run --group test pytest --disable-socket --allow-unix-socket $(TEST_FILE)
integration_test integration_tests:
uv run --group test --group test_integration pytest $(TEST_FILE)
uv run --group test --group test_integration pytest --retries 3 --retry-delay 1 $(TEST_FILE)
test_watch:
uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)