Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2025 17:01:25 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f4f42421f38e - main - pf tests: sctp:pfsync robustness improvement
Message-ID:  <202509031701.583H1PbI085256@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

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

commit f4f42421f38ecf06396332fda563c3dcc8d32143
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-09-03 14:04:41 +0000
Commit:     Kristof Provost <kp@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}" ];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509031701.583H1PbI085256>