From 0449f47fe698b37318930d77d64363f89ae9c2a9 Mon Sep 17 00:00:00 2001 From: berkaysynnada Date: Mon, 2 Sep 2024 18:22:27 +0300 Subject: [PATCH] Update merge_fuzz.rs --- datafusion/core/tests/fuzz_cases/merge_fuzz.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/datafusion/core/tests/fuzz_cases/merge_fuzz.rs b/datafusion/core/tests/fuzz_cases/merge_fuzz.rs index a47a62aafb9b7..8c0e634e750e3 100644 --- a/datafusion/core/tests/fuzz_cases/merge_fuzz.rs +++ b/datafusion/core/tests/fuzz_cases/merge_fuzz.rs @@ -348,12 +348,7 @@ async fn test_spm_congestion() -> Result<()> { let spm_task = SpawnedTask::spawn(async move { collect(Arc::new(spm), task_ctx).await }); - #[cfg(target_os = "windows")] - let duration = Duration::from_secs(10); - #[cfg(not(target_os = "windows"))] - let duration = Duration::from_secs(1); - - let result = timeout(duration, spm_task.join()).await; + let result = timeout(Duration::from_secs(1), spm_task.join()).await; match result { Ok(Ok(Ok(_batches))) => Ok(()), Ok(Ok(Err(e))) => Err(e),