Skip to content

Chore: Add retries on engine adapter integration tests#3090

Merged
erindru merged 1 commit intomainfrom
erin/integration-test-flakiness
Sep 5, 2024
Merged

Chore: Add retries on engine adapter integration tests#3090
erindru merged 1 commit intomainfrom
erin/integration-test-flakiness

Conversation

@erindru
Copy link
Collaborator

@erindru erindru commented Sep 5, 2024

It's been observed that the engine adapter integration tests can be a bit flaky. Often this is caused by transient network issues.

Rather than trying to catch specific errors and determine which ones may or may not be retryable (and add retry logic within each engine adapter), a quick win could be to use pytest-retry to try the selected tests again if they fail.

Note that this was already enabled for the Trino tests, this PR just extends it to the other adapters

@erindru erindru merged commit baae6bc into main Sep 5, 2024
@erindru erindru deleted the erin/integration-test-flakiness branch September 5, 2024 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants