git: 4a8bf4de7b1e - main - pfsync test: reduce the number of states to bulk-sync

Kristof Provost <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a7df2bd.18564.5550ad6c__32631.4905005106$1786639055$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4a8bf4de7b1e5537dc576f8ad91419d324f151da

commit 4a8bf4de7b1e5537dc576f8ad91419d324f151da
Author:     Kristof Provost <[email protected]>
AuthorDate: 2026-08-13 15:49:25 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2026-08-13 16:20:00 +0000

    pfsync test: reduce the number of states to bulk-sync
    
    We created so many states that our bulk-sync occasionally caused epair
    to drop packets, which in turn caused the test to fail. That's not what
    we're testing here, make it more robust by creating fewer states.
    
    PR:             297307
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netpfil/pf/pfsync.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/netpfil/pf/pfsync.sh b/tests/sys/netpfil/pf/pfsync.sh
index 8e639ca7c988..c68a280c362a 100644
--- a/tests/sys/netpfil/pf/pfsync.sh
+++ b/tests/sys/netpfil/pf/pfsync.sh
@@ -237,7 +237,7 @@ bulk_body()
 	${common_dir}/pft_synflood.py \
 		--sendif ${epair_one}b \
 		--to 198.51.100.1 \
-		--count 2500
+		--count 500
 	ping -c 1 -S 198.51.100.254 198.51.100.1
 
 	# Wait before setting up pfsync on two, so we don't accidentally catch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.