-
Notifications
You must be signed in to change notification settings - Fork 6
chore: parameterize SubCommandTest with configLevel #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
amoeba
wants to merge
27
commits into
columnar-tech:main
Choose a base branch
from
amoeba:chore/support-full-integration-tests-take-two
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+347
−156
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b30e994
Parameterize SubCommandTest with configLevel
amoeba d53fe2e
Rework logic
amoeba 01afc5b
Use sudo -E for system tests
amoeba 5c1405a
See what tests fail with this
amoeba 2340f19
revert changes that were mistakes
amoeba f587286
Remove my old fake user/system level tests
amoeba b38b9b3
Add test suite helpers so we can test on all platforms
amoeba 9217c44
handle manifest-only drivers
amoeba ec0b84c
fix mistake
amoeba dae5016
Update install_test.go
amoeba 5b5713f
attempt to fix tests
amoeba bff221b
whoops
amoeba d7792bb
Update install_test.go
amoeba 410be3a
add user and system level test teardown
amoeba 9bfe476
Fix test failures now that we can clean up
amoeba a5975be
Fix uninstall tests
amoeba 7fa5be7
Tear down registry correctly
amoeba e69744f
Fix bug in sidecar removal
amoeba eda2623
Restore change in install_test.go
amoeba ed293e7
Factor out expectedDir logic
amoeba 69eaa04
Fix not removing symlink to show off this pr
amoeba 139ef61
Fix symlink behavior on all plats
amoeba 1512cd5
whoops
amoeba b7a3289
Remove GetLocation wrapper, export ConfigLocation
amoeba 643f102
Use suite.T().Setenv
amoeba 5957bdf
fix windows
amoeba 0336048
whoops
amoeba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need one of these with
DBC_TEST_LEVEL_ENV: 1?I also really don't like this personally, but can't think of a better option other than maybe using
TestMainand adding explicit command line args that we look for instead? meh, I can live with this for now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't, just running the tests normally (which we do above) tests DBC_TEST_LEVEL_ENV.
This was my third attempt at this and I dislike this approach the least. I can live with it too :)