The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f4f42421f38ecf06396332fda563c3dcc8d32143
commit f4f42421f38ecf06396332fda563c3dcc8d32143 Author: Kristof Provost <k...@freebsd.org> AuthorDate: 2025-09-03 14:04:41 +0000 Commit: Kristof Provost <k...@freebsd.org> CommitDate: 2025-09-03 17:01:12 +0000 pf tests: sctp:pfsync robustness improvement Add a wait after we establish the SCTP connection to give pfsync some time to work before we check if it has synced the state to the other jail. PR: 289239 Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/netpfil/pf/sctp.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/sys/netpfil/pf/sctp.sh b/tests/sys/netpfil/pf/sctp.sh index 57dcdad1d866..78055f5a9dd2 100644 --- a/tests/sys/netpfil/pf/sctp.sh +++ b/tests/sys/netpfil/pf/sctp.sh @@ -673,6 +673,9 @@ pfsync_body() atf_fail "Initial SCTP connection failed" fi + # Give pfsync some time to do its thing + sleep 1 + # Verify that two has the connection too state=$(jexec ${j}two pfctl -ss | grep sctp) if [ -z "${state}" ];