mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
common: improve test_extract_response_peers
This commit is contained in:
parent
271f1450f5
commit
ddbb5a4d9a
1 changed files with 3 additions and 3 deletions
|
|
@ -260,9 +260,9 @@ mod tests {
|
|||
fn test_extract_response_peers() {
|
||||
let mut rng = SmallRng::from_entropy();
|
||||
|
||||
for num_peers_in_map in 0..1000 {
|
||||
for max_num_peers_to_take in [0, 1, 2, 5, 10, 50] {
|
||||
for sender_peer_map_key in [0, 1, 4, 5, 10, 44, 500] {
|
||||
for num_peers_in_map in 0..50 {
|
||||
for max_num_peers_to_take in 0..50 {
|
||||
for sender_peer_map_key in 0..50 {
|
||||
test_extract_response_peers_helper(
|
||||
&mut rng,
|
||||
num_peers_in_map,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue