Skip to content

test: improve how query-based tests are sorted - #283

Merged
lidavidm merged 2 commits into
mainfrom
dev
Aug 7, 2026
Merged

test: improve how query-based tests are sorted#283
lidavidm merged 2 commits into
mainfrom
dev

Conversation

@lidavidm

@lidavidm lidavidm commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Also retry in test_query_bind_dictionary

Also retry in test_query_bind_dictionary

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves query-test ordering to preserve reusable setup state and adds retry handling for dictionary-binding setup.

Changes:

  • Groups only query_setup consumers by query.
  • Makes dictionary-binding tests reset and retry setup independently.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
adbc_drivers_validation/tests/conftest.py Refines query-test sorting.
adbc_drivers_validation/tests/query.py Adds dictionary-binding setup retries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread adbc_drivers_validation/tests/query.py Outdated
Comment on lines +206 to +212
if driver.is_retryable(e):
delay = min(60, 2 ** (attempt + 2))
print("backing off and trying again after", delay, "seconds")
time.sleep(delay)
continue
else:
raise
@lidavidm
lidavidm marked this pull request as ready for review August 7, 2026 01:50
@lidavidm
lidavidm merged commit 02090c3 into main Aug 7, 2026
4 checks passed
@lidavidm
lidavidm deleted the dev branch August 7, 2026 01:51
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