From 274ab1d41b98a7b3e1792fbcb4dd56067cee0ee3 Mon Sep 17 00:00:00 2001 From: Viraj Mehta Date: Thu, 8 Jan 2026 10:05:50 -0500 Subject: [PATCH] bumped wait for task to start --- tests/crash_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/crash_test.rs b/tests/crash_test.rs index b6eef1c..32b4822 100644 --- a/tests/crash_test.rs +++ b/tests/crash_test.rs @@ -212,7 +212,7 @@ async fn test_lease_expiration_allows_reclaim(pool: PgPool) -> sqlx::Result<()> .unwrap(); // Wait for task to start - tokio::time::sleep(Duration::from_millis(200)).await; + tokio::time::sleep(Duration::from_millis(500)).await; let state = get_task_state(&pool, "crash_lease", spawn_result.task_id).await?; assert_eq!(state, Some("running".to_string()));