Skip to content

Super fast extended tests#21084

Open
blaginin wants to merge 3 commits intomainfrom
db/cache-cores
Open

Super fast extended tests#21084
blaginin wants to merge 3 commits intomainfrom
db/cache-cores

Conversation

@blaginin
Copy link
Member

@blaginin blaginin commented Mar 20, 2026

This makes sqlite extended finish in 5 minutes: https://github.com/apache/datafusion/actions/runs/23362665318/job/67969547959

Currently on develop it takes 20 minutes (and a month ago it would take two hours 🤯)

@blaginin blaginin self-assigned this Mar 20, 2026
@github-actions github-actions bot added development-process Related to development process of DataFusion common Related to common crate labels Mar 20, 2026
submodules: true
fetch-depth: 1
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
Copy link
Member Author

Choose a reason for hiding this comment

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

this sets RUST_BACKTRACE=1 and we have a lot of expected failures in sqlogictests

available_parallelism()
.unwrap_or(NonZero::new(1).expect("literal value `1` shouldn't be zero"))
.get()
static PARALLELISM: LazyLock<usize> = LazyLock::new(|| {
Copy link
Member Author

Choose a reason for hiding this comment

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

telegram-cloud-photo-size-2-5328039229025621418-w

when running on linux, this function is constantly running

Copy link
Member Author

Choose a reason for hiding this comment

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

this obviously affects not only tests, happy to apply to only tests, but feels like a good change overall? 🤔

Cargo.toml Outdated

[profile.ci-optimized]
inherits = "release"
debug-assertions = true
Copy link
Member Author

Choose a reason for hiding this comment

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

thanks @AdamGS for the catch 🙏

Copy link
Member Author

Choose a reason for hiding this comment

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

actually, will move it to a separate PR #21085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate development-process Related to development process of DataFusion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant