From 9842937ed3c886778fd3b0cf1ed0255508a23f04 Mon Sep 17 00:00:00 2001 From: --show-origin Date: Sat, 30 Nov 2024 15:09:14 +0400 Subject: [PATCH] Account for re-queued jobs --- tests/real/community.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/real/community.rs b/tests/real/community.rs index f78c39ed..dba720ae 100644 --- a/tests/real/community.rs +++ b/tests/real/community.rs @@ -871,7 +871,6 @@ async fn test_panic_and_errors_in_handler() { for _ in 0..8 { assert!(w.run_one(0, &[local]).await.unwrap()); } - assert!(!w.run_one(0, &[local]).await.unwrap()); // drained // TODO: 1)requeue all the jobs of this kind // TODO: 2)create a new worker that will be sending a job via channel