Adjust distribution in randomized test
This commit is contained in:
@@ -5390,7 +5390,7 @@ mod tests {
|
|||||||
log::info!("Added connection for {}", guest_username);
|
log::info!("Added connection for {}", guest_username);
|
||||||
operations += 1;
|
operations += 1;
|
||||||
}
|
}
|
||||||
20..=30 if clients.len() > 1 => {
|
20..=29 if clients.len() > 1 => {
|
||||||
log::info!("Removing guest");
|
log::info!("Removing guest");
|
||||||
let guest_ix = rng.lock().gen_range(1..clients.len());
|
let guest_ix = rng.lock().gen_range(1..clients.len());
|
||||||
let removed_guest_id = user_ids.remove(guest_ix);
|
let removed_guest_id = user_ids.remove(guest_ix);
|
||||||
|
|||||||
Reference in New Issue
Block a user