Skip to content

Commit

Permalink
fix: add shoule panic for a need removing ut
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Mar 1, 2024
1 parent 83784e2 commit 846a2f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/batch/src/executor/hash_agg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ mod tests {

/// A test to verify that `HashMap` may leak memory counter when using `into_iter`.
#[test]
#[should_panic] // TODO(MrCroxx): This bug is fixed and the test should panic. Remove the test and fix the related code later.
fn test_hashmap_into_iter_bug() {
let dropped: Arc<AtomicBool> = Arc::new(AtomicBool::new(false));

Expand Down

0 comments on commit 846a2f3

Please sign in to comment.