Skip to content

No cargo test for sort_mem_validation#21222

Merged
blaginin merged 1 commit intoapache:mainfrom
blaginin:db/no-ct-sortmem
Mar 29, 2026
Merged

No cargo test for sort_mem_validation#21222
blaginin merged 1 commit intoapache:mainfrom
blaginin:db/no-ct-sortmem

Conversation

@blaginin
Copy link
Copy Markdown
Member

@blaginin blaginin commented Mar 28, 2026

Every time I run tests with sort_mem_validation i'm forced to recompile those tests several times, as those trigger cargo test (=recompilation with different features). I made it use the existing compiled binary

Should save us 2-3 minutes on recompiling code on CI

@blaginin blaginin requested a review from 2010YOUY01 March 28, 2026 22:49
@blaginin blaginin self-assigned this Mar 28, 2026
@github-actions github-actions bot added the core Core DataFusion crate label Mar 28, 2026
Copy link
Copy Markdown
Contributor

@2010YOUY01 2010YOUY01 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

.arg("extended_tests")
.arg("--")

let exe = std::env::current_exe().expect("Failed to get test binary path");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

TIL

@blaginin
Copy link
Copy Markdown
Member Author

blaginin commented Mar 29, 2026

@blaginin
Copy link
Copy Markdown
Member Author

I think this runs 2-3 minutes faster then on develop (no need to recompile code twice) 🚀

@blaginin blaginin added this pull request to the merge queue Mar 29, 2026
Merged via the queue into apache:main with commit 1a0af76 Mar 29, 2026
83 of 85 checks passed
@blaginin blaginin deleted the db/no-ct-sortmem branch March 29, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants