Skip to content
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

testdrive: Some fixes for duplicate args #30918

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

def-
Copy link
Contributor

@def- def- commented Dec 30, 2024

See discussion in #30895

We still can't remove the duplicate argument handling because testdrive's usage is a bit convoluted. We create containers with a set of defaults, and then sometimes have to invoke it with different parameters through run_testdrive_files etc.

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered. (trigger-ci for additional test/nightly runs)
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • If this PR includes major user-facing behavior changes, I have pinged the relevant PM to schedule a changelog post.

@def- def- force-pushed the pr-testdrive-duplicate-args branch from 1c4a2e0 to 965ce96 Compare December 30, 2024 16:57
We still can't remove the duplicate argument handling because
testdrive's usage is a bit convoluted. We create containers with a set
of defaults, and then sometimes have to invoke it with different
parameters through run_testdrive_files etc.
@def- def- force-pushed the pr-testdrive-duplicate-args branch from 965ce96 to c677fc4 Compare December 31, 2024 14:36
@def- def- changed the title WIP: Testdrive: Fail on duplicate args testdrive: Some fixes for duplicate args Dec 31, 2024
@def-
Copy link
Contributor Author

def- commented Dec 31, 2024

@alex-hunt-materialize Is this ok for you? I feel like it might not be worth changing the way testdrive functions as it makes extensive use of having a set of default settings and overwriting them in specific calls

@def- def- marked this pull request as ready for review December 31, 2024 15:19
@def- def- requested a review from a team as a code owner December 31, 2024 15:19
@def- def- enabled auto-merge December 31, 2024 15:19
@def- def- merged commit 38f226d into MaterializeInc:main Dec 31, 2024
180 of 232 checks passed
@def- def- deleted the pr-testdrive-duplicate-args branch December 31, 2024 15:30
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