Skip to content

Commit

Permalink
test: remove too_many_ops test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-miao committed Jan 25, 2024
1 parent d83e4c2 commit e1f77bb
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/pool/src/mempool/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -825,20 +825,6 @@ mod tests {
assert!(pool.best.is_empty());
}

#[test]
fn too_many_ops() {
let args = conf();
let mut pool = PoolInner::new(args.clone());
let addr = Address::random();
for i in 0..4 {
let op = create_op(addr, i, 1);
pool.add_operation(op, None).unwrap();
}

let op = create_op(addr, 4, 1);
assert!(pool.add_operation(op, None).is_err());
}

#[test]
fn address_count() {
let mut pool = PoolInner::new(conf());
Expand Down

0 comments on commit e1f77bb

Please sign in to comment.