test(connlib): reduce number of sites to 3 (#5152)

Generating up to 10 can be quite verbose in the output. I think 3 should
also be enough to hit all codepaths that need to deal with more than 1.
This commit is contained in:
Thomas Eizinger
2024-05-29 12:00:27 +10:00
committed by GitHub
parent 9c1af37c85
commit 974eb95dc5

View File

@@ -100,7 +100,7 @@ pub fn address_description() -> impl Strategy<Value = String> {
}
pub fn sites() -> impl Strategy<Value = Vec<Site>> {
collection::vec(site(), 1..=10)
collection::vec(site(), 1..=3)
}
pub fn site() -> impl Strategy<Value = Site> {