lifan-ake commented on code in PR #16145:
URL: https://github.com/apache/datafusion/pull/16145#discussion_r2102449684
##########
datafusion/execution/src/memory_pool/pool.rs:
##########
@@ -452,64 +453,64 @@ mod tests {
let mut r1 = MemoryConsumer::new("unspillable").register(&pool);
// Can grow beyond capacity of pool
r1.grow(2000);
- assert_eq!(pool.reserved(), 2000);
+ assert_snapshot!(pool.reserved(), @"2000");
let mut r2 = MemoryConsumer::new("r2")
.with_can_spill(true)
.register(&pool);
// Can grow beyond capacity of pool
r2.grow(2000);
- assert_eq!(pool.reserved(), 4000);
+ assert_snapshot!(pool.reserved(), @"4000");
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]