Fix flakey streamer_send_test (#25440)
This commit is contained in:
parent
7d1a7636af
commit
773b2f23f4
|
@ -492,8 +492,8 @@ mod test {
|
|||
get_packet_batches(r_reader, &mut packets_remaining);
|
||||
assert_eq!(packets_remaining, 0);
|
||||
exit.store(true, Ordering::Relaxed);
|
||||
assert!(stats.packet_batches_count.load(Ordering::Relaxed) >= 1);
|
||||
assert_eq!(stats.packets_count.load(Ordering::Relaxed), NUM_PACKETS);
|
||||
assert_eq!(stats.packet_batches_count.load(Ordering::Relaxed), 1);
|
||||
assert_eq!(stats.full_packet_batches_count.load(Ordering::Relaxed), 0);
|
||||
t_receiver.join().expect("join");
|
||||
t_responder.join().expect("join");
|
||||
|
|
Loading…
Reference in New Issue