]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Stress state retrieval
authorKristof Provost <kp@FreeBSD.org>
Mon, 28 Jun 2021 10:48:20 +0000 (12:48 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 9 Jul 2021 08:07:48 +0000 (10:07 +0200)
commitfc4e7ccde0b677d544a0f5ad42515b706071d093
tree7208d3ee146907c5d0c8c3d0f18c5a4055fb5d53
parente26de428fa542c0fd62a696e2d721ff6f8dbc5db
pf tests: Stress state retrieval

Create and retrieve 20.000 states. There have been issues with nvlists
causing very slow state retrieval. We don't impose a specific limit on
the time required to retrieve the states, but do log it. In excessive
cases the Kyua timeout will fail this test.

Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30943

(cherry picked from commit d8d43b2de1fa679179f7089cb3c31e6780ec82af)
tests/sys/netpfil/common/Makefile
tests/sys/netpfil/common/pft_synflood.py [new file with mode: 0644]
tests/sys/netpfil/pf/Makefile
tests/sys/netpfil/pf/get_state.sh [new file with mode: 0644]