From dde7ab7707891788573f5ac84d363430d47064d1 Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Mon, 6 Nov 2023 23:02:03 +0100 Subject: [PATCH] Remove allocator test that probably makes CI build fail --- allocator/src/lib.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/allocator/src/lib.rs b/allocator/src/lib.rs index 1b6547151..a71a5164d 100644 --- a/allocator/src/lib.rs +++ b/allocator/src/lib.rs @@ -299,15 +299,15 @@ mod tests { drop(_receiver); } - // Don't execute this in CI. It crashes the test process which counts as "not passed". - #[test] - #[ignore] - #[should_panic] - fn abort_on_allocate() { - let _receiver = init(); - assert_no_alloc(|| { - let mut bla: Vec = vec![]; - bla.push(2); - }); - } + // // Don't execute this in CI. It crashes the test process which counts as "not passed". + // #[test] + // #[ignore] + // #[should_panic] + // fn abort_on_allocate() { + // let _receiver = init(); + // assert_no_alloc(|| { + // let mut bla: Vec = vec![]; + // bla.push(2); + // }); + // } }