Adjust distribution in randomized test
This commit is contained in:
parent
3e4bc75160
commit
1d84876cfd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue