Skip to content

Commit

Permalink
Test that benchmark comparison works as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
gruuya committed Mar 11, 2024
1 parent e244adc commit 657d36f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datafusion/physical-plan/src/sorts/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,9 @@ impl ExecutionPlan for SortExec {
let batch = batch?;
sorter.insert_batch(batch).await?;
}
// Test whether benchmarks catch this
// TODO: remove before merge!
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
sorter.sort()
})
.try_flatten(),
Expand Down

0 comments on commit 657d36f

Please sign in to comment.