From 974eb95dc5ee330ee343641be82367d68655f1d3 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 29 May 2024 12:00:27 +1000 Subject: [PATCH] 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. --- rust/connlib/shared/src/proptest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/connlib/shared/src/proptest.rs b/rust/connlib/shared/src/proptest.rs index 913017d5c..901e7fe70 100644 --- a/rust/connlib/shared/src/proptest.rs +++ b/rust/connlib/shared/src/proptest.rs @@ -100,7 +100,7 @@ pub fn address_description() -> impl Strategy { } pub fn sites() -> impl Strategy> { - collection::vec(site(), 1..=10) + collection::vec(site(), 1..=3) } pub fn site() -> impl Strategy {