Skip to content

Apache DataFusion SQL Query Engine

Fix 'Too many open files' on fuzz test. (#12961)

Daniel Hegberg589c8309abfe
diff --git a/datafusion/core/tests/fuzz_cases/sort_fuzz.rs b/datafusion/core/tests/fuzz_cases/sort_fuzz.rs
index fae4731569..4ba06ef1d2 100644
--- a/datafusion/core/tests/fuzz_cases/sort_fuzz.rs
+++ b/datafusion/core/tests/fuzz_cases/sort_fuzz.rs
@@ -37,8 +37,8 @@ use test_utils::{batches_to_vec, partitions_to_sorted_vec};
const KB: usize = 1 << 10;
#[tokio::test]
#[cfg_attr(tarpaulin, ignore)]
-async fn test_sort_1k_mem() {
- for (batch_size, should_spill) in [(5, false), (20000, true), (1000000, true)] {
+async fn test_sort_10k_mem() {
+ for (batch_size, should_spill) in [(5, false), (20000, true), (500000, true)] {
SortTest::new()
.with_int32_batches(batch_size)
.with_pool_size(10 * KB)