git: 4a8bf4de7b1e - main - pfsync test: reduce the number of states to bulk-sync
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Aug 2026 16:37:17 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a8bf4de7b1e5537dc576f8ad91419d324f151da
commit 4a8bf4de7b1e5537dc576f8ad91419d324f151da
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-08-13 15:49:25 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
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