Skip to content

physical_planner::tests::test_optimization_invariant_checker fails when run with release-nonlto profile #20786

@Omega359

Description

@Omega359

Describe the bug

cargo test physical_planner succeeds, no failures.
cargo test physical_planner --profile release-nonlto fails with:

failures:

---- physical_planner::tests::test_optimization_invariant_checker stdout ----

thread 'physical_planner::tests::test_optimization_invariant_checker' (69497) panicked at datafusion/core/src/physical_planner.rs:4291:14:
called `Result::unwrap_err()` on an `Ok` value: ()
active toolchain
----------------
name: 1.93.0-x86_64-unknown-linux-gnu

To Reproduce

No response

Expected behavior

Tests should succeed using the release-nonlto profile.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions