git: dc8357de606a - main - gnop tests: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 14 Jul 2024 18:30:18 UTC
The branch main has been updated by markj:

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

commit dc8357de606aa65fc1c35a43d4a5f1d706164ddb
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-07-14 16:14:50 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-07-14 18:29:15 +0000

    gnop tests: Serialize
    
    Some of these tests make use of test disk devices, but then they can't
    run in parallel.
    
    MFC after:      2 weeks
---
 tests/sys/geom/class/nop/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/sys/geom/class/nop/Makefile b/tests/sys/geom/class/nop/Makefile
index 54b41584d441..a3347e0cdb65 100644
--- a/tests/sys/geom/class/nop/Makefile
+++ b/tests/sys/geom/class/nop/Makefile
@@ -5,4 +5,8 @@ TESTSDIR=	${TESTSBASE}/sys/geom/class/${.CURDIR:T}
 
 ATF_TESTS_SH+=	nop_test
 
+# Some tests make use of the "disks" property and kyua may schedule
+# them to run at the time time, which the tests do not expect.
+TEST_METADATA.nop_test+= is_exclusive="true"
+
 .include <bsd.test.mk>