git: 2d7021fa1846 - stable/13 - netipsec tests: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 12:51:40 UTC
The branch stable/13 has been updated by markj:

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

commit 2d7021fa184626ad01a86a96df755a1af45e6426
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-03-20 16:15:32 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-03-27 12:49:22 +0000

    netipsec tests: Serialize
    
    The tunnel mode tests use VNET jails and reuse jail names.  Until this
    is addressed, serialize them.
    
    MFC after:      1 week
    
    (cherry picked from commit cc9158d74d306fdbee2f5f014e5d267eca0aa6d1)
---
 tests/sys/netipsec/tunnel/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/sys/netipsec/tunnel/Makefile b/tests/sys/netipsec/tunnel/Makefile
index e80374940e95..3bac4d8cb0ab 100644
--- a/tests/sys/netipsec/tunnel/Makefile
+++ b/tests/sys/netipsec/tunnel/Makefile
@@ -14,6 +14,9 @@ ATF_TESTS_SH+=	empty \
 		aesni_aes_gcm_128 \
 		aesni_aes_gcm_256
 
+# Each test uses the same names for its jails, so they must be run serially.
+TEST_METADATA+=	is_exclusive=true
+
 ${PACKAGE}FILES+=	utils.subr
 
 .include <bsd.test.mk>