git: fb8670d3f876 - stable/14 - gnop tests: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 30 Jul 2024 15:55:59 UTC
The branch stable/14 has been updated by markj:

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

commit fb8670d3f876309981f8d22aa0a7d8ecf16d78b3
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-07-14 16:14:50 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-07-30 15:55:32 +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
    
    (cherry picked from commit dc8357de606aa65fc1c35a43d4a5f1d706164ddb)
---
 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>