diff --git a/datafusion/core/tests/memory_limit.rs b/datafusion/core/tests/memory_limit.rs index 034505f52c96..13b6291f9c57 100644 --- a/datafusion/core/tests/memory_limit.rs +++ b/datafusion/core/tests/memory_limit.rs @@ -161,12 +161,10 @@ async fn merge_join() { .await } -/// 50 byte memory limit const MEMORY_FRACTION: f64 = 0.95; -/// runs the specified query against 1000 rows with a 50 -/// byte memory limit and no disk manager enabled -/// with default SessionConfig. +/// runs the specified query against 1000 rows with specified +/// memory limit and no disk manager enabled with default SessionConfig. async fn run_limit_test( query: &str, expected_error_contains: Vec<&str>, @@ -195,7 +193,6 @@ async fn run_limit_test_with_config( let rt_config = RuntimeConfig::new() // do not allow spilling .with_disk_manager(DiskManagerConfig::Disabled) - // Only allow 50 bytes .with_memory_limit(memory_limit, MEMORY_FRACTION); let runtime = RuntimeEnv::new(rt_config).unwrap();