Skip to content

fix: add test for environment variable precedence - #60

Merged
amoeba merged 3 commits into
columnar-tech:mainfrom
amoeba:fix/add-environment-test
Sep 22, 2025
Merged

amoeba merged 3 commits into
columnar-tech:mainfrom
amoeba:fix/add-environment-test

Conversation

@amoeba

@amoeba amoeba commented Sep 20, 2025

Copy link
Copy Markdown
Member

I saw while writing docs that we don't have an explicit test of the precedence chain we document so I created one. However, it current fails in a very strange way for me so this PR adds a failing test.

@amoeba
amoeba requested a review from zeroshade September 20, 2025 22:27
@amoeba

amoeba commented Sep 20, 2025

Copy link
Copy Markdown
Member Author

This test fails early on and when I poke around the suite.tempdir, I see a situation that looks like mangled paths?

$ tree
.
├── driver_path
│   └── test-driver-1.1
│       ├── test-driver-1-not-valid.so
│       └── test-driver-1-not-valid.so.sig
└── driver_path:
    └── tmp
        └── TestSubcommandsTestInstallEnvironmentPrecedence1409964535
            └── 001
                └── venv_path
                    └── etc
                        └── adbc
                            └── drivers:
                                └── tmp
                                    └── TestSubcommandsTestInstallEnvironmentPrecedence1409964535
                                        └── 001
                                            └── conda_path
                                                └── etc
                                                    └── adbc
                                                        └── drivers
                                                            └── test-driver-1.toml

@amoeba
amoeba merged commit de9c4f0 into columnar-tech:main Sep 22, 2025
zeroshade added a commit that referenced this pull request Apr 17, 2026
I saw while writing docs that we don't have an explicit test of the
precedence chain we document so I created one. However, it current fails
in a very strange way for me so this PR adds a failing test.

---------

Co-authored-by: Matt Topol <[email protected]>
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