-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Drive sqllogictest runner on directory contents rather than hard coded list #4472
Conversation
} | ||
|
||
#[tokio::test] | ||
async fn show_all() { |
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.
moved to a data file rather than .rs file 🎉
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.
Yeah, step by step migration in progress
|
||
fn test_filename(&self) -> &'static str { | ||
match self { | ||
TestCategory::Aggregate => "aggregate.slt", |
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.
Rather than hard coding this list, I propose instead listing the files in the directory instead
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.
You did what I want to do 🤣
} | ||
|
||
#[tokio::test] | ||
async fn show_all() { |
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.
Yeah, step by step migration in progress
|
||
fn test_filename(&self) -> &'static str { | ||
match self { | ||
TestCategory::Aggregate => "aggregate.slt", |
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.
You did what I want to do 🤣
Benchmark runs are scheduled for baseline = 1aa645f and contender = b229e0f. b229e0f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Closes #4471
Rationale for this change
Basically I want to be able to add new files easily without having to define a test setup if I don't want todo
What changes are included in this PR?
Are these changes tested?
Yes
Are there any user-facing changes?
no
cc @mvanschellebeeck and @xudong963