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