Skip to content

Commit

Permalink
Remove allocator test that probably makes CI build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Nov 6, 2023
1 parent 653c1d9 commit dde7ab7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<i32> = 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<i32> = vec![];
// bla.push(2);
// });
// }
}

0 comments on commit dde7ab7

Please sign in to comment.