git: bad8f86843fa - main - netgraph tests: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sat, 18 Mar 2023 20:57:26 UTC
The branch main has been updated by markj:

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

commit bad8f86843fa34bf4d4d2bfb8183331c02ced87f
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-03-18 14:57:36 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-03-18 20:57:11 +0000

    netgraph tests: Serialize
    
    Some tests share names for netgraph nodes, so they cannot be run in
    parallel.
    
    MFC after:      1 week
---
 tests/sys/netgraph/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/netgraph/Makefile b/tests/sys/netgraph/Makefile
index f397e66a22bc..5a5e2ba13081 100644
--- a/tests/sys/netgraph/Makefile
+++ b/tests/sys/netgraph/Makefile
@@ -7,6 +7,8 @@ BINDIR=		${TESTSDIR}
 
 TAP_TESTS_SH+=	ng_macfilter_test
 
+# Serialize tests since some share netgraph node names.
+TEST_METADATA+=	is_exclusive=true
 TEST_METADATA.ng_macfilter_test+=	required_user="root"
 TEST_METADATA.ng_macfilter_test+=	required_programs="perl"