ci: verify that tests work with panic=abort (#6283)

This commit is contained in:
M.Amin Rayej
2024-01-16 16:10:23 +01:00
committed by GitHub
parent bfd7b08067
commit 58edfc61ab
17 changed files with 49 additions and 46 deletions
+2
View File
@@ -805,6 +805,7 @@ async fn item_expiry_greater_than_wheel() {
#[cfg_attr(target_os = "wasi", ignore = "FIXME: Does not seem to work with WASI")]
#[tokio::test(start_paused = true)]
#[cfg(panic = "unwind")]
async fn remove_after_compact() {
let now = Instant::now();
let mut queue = DelayQueue::new();
@@ -822,6 +823,7 @@ async fn remove_after_compact() {
#[cfg_attr(target_os = "wasi", ignore = "FIXME: Does not seem to work with WASI")]
#[tokio::test(start_paused = true)]
#[cfg(panic = "unwind")]
async fn remove_after_compact_poll() {
let now = Instant::now();
let mut queue = task::spawn(DelayQueue::new());