less noisy tests in CI (#25799)
This commit is contained in:
parent
8caced68ce
commit
7c93504fa8
|
@ -1491,7 +1491,7 @@ mod tests {
|
||||||
let mut batches =
|
let mut batches =
|
||||||
to_packet_batches(&(0..1000).map(|_| test_tx()).collect::<Vec<_>>(), 128);
|
to_packet_batches(&(0..1000).map(|_| test_tx()).collect::<Vec<_>>(), 128);
|
||||||
discard += filter.dedup_packets_and_count_discards(&mut batches, |_, _, _| ()) as usize;
|
discard += filter.dedup_packets_and_count_discards(&mut batches, |_, _, _| ()) as usize;
|
||||||
debug!("{} {}", i, discard);
|
trace!("{} {}", i, discard);
|
||||||
if filter.saturated.load(Ordering::Relaxed) {
|
if filter.saturated.load(Ordering::Relaxed) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1721,7 +1721,7 @@ mod tests {
|
||||||
batches.iter_mut().enumerate().for_each(|(i, b)| {
|
batches.iter_mut().enumerate().for_each(|(i, b)| {
|
||||||
b.iter_mut().enumerate().for_each(|(j, p)| {
|
b.iter_mut().enumerate().for_each(|(j, p)| {
|
||||||
if !p.meta.discard() {
|
if !p.meta.discard() {
|
||||||
debug!("{} {}", i, j)
|
trace!("{} {}", i, j)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue