Skip to content

test: use local registry in TestUnmarshalDriverList - #553

Merged
amoeba merged 1 commit into
columnar-tech:mainfrom
hippi345:cursor/update-driver-list-test-0cb9
Nov 3, 2026
Merged

amoeba merged 1 commit into
columnar-tech:mainfrom
hippi345:cursor/update-driver-list-test-0cb9

Conversation

@hippi345

Copy link
Copy Markdown
Contributor

Refactors TestUnmarshalDriverList so it no longer resolves driver versions against the public driver registry. The test now serves a local index.yaml through httptest, with pinned flightsql versions (1.8.0, 1.9.0, 1.10.0) and replace_defaults = true, the same way TestGetDriverListHonorsProjectRegistries does. Registry updates like the one behind #212 won't break CI anymore.

go test ./... passes.

Closes #213

Stop resolving flightsql versions against the live driver registry so
the test stays stable as upstream registry data changes.

Closes columnar-tech#213

@amoeba amoeba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @hippi345. I'm going to merge this as-is and do a follow-up to remove the pieces you added (setupLocalFlightsqlRegistry/flightsqlLocalRegistryIndexYAML) and just have this test rely on test_index.yml. Thanks for the PR.

@amoeba
amoeba merged commit 59c01e3 into columnar-tech:main Nov 3, 2026
15 checks passed
zeroshade pushed a commit that referenced this pull request Nov 3, 2026
This is a follow-on to #553.

#553 was correct but could be
cleaner by using our common registry testing tools rather than adding a
new one just for the test. `test_index.yaml` needs to be updated with
more platforms because the test runs on multiple platforms and will only
find packages for the current platform.

Closes #213.
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.

Update driver_list test to not rely on the driver registry

2 participants