Skip to content

Commit

Permalink
fix allocator test
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
  • Loading branch information
rockwotj committed Oct 10, 2023
1 parent 4f7e6f1 commit b3a3730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ mod tests {

assert_eq!(pool.index_allocator.testing_freelist(), []);

pool.allocate().unwrap_err();
assert!(pool.allocate().is_err(), "allocation should fail");

for stack in stacks {
unsafe {
Expand Down

0 comments on commit b3a3730

Please sign in to comment.