Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2025 00:04:51 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 46adaf3642cf - main - tests: Serialize kern_descrip_test
Message-ID:  <202505030004.54304pMh035324@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit 46adaf3642cff045b9ac87bd2e8b32124bd66ba2
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-05-02 23:59:55 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-05-03 00:04:32 +0000

    tests: Serialize kern_descrip_test
    
    It can trigger failures in unrelated tests when it modifies the maxfiles
    limit.
    
    MFC after:      1 week
---
 tests/sys/kern/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index 0dc7fcbdd8d7..9480ea78266f 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -15,6 +15,8 @@ ATF_TESTS_C+=	kcov
 .endif
 ATF_TESTS_C+=	kern_copyin
 ATF_TESTS_C+=	kern_descrip_test
+# One test modifies the maxfiles limit, which can cause spurious test failures.
+TEST_METADATA.kern_descrip_test+= is_exclusive="true"
 ATF_TESTS_C+=	fdgrowtable_test
 ATF_TESTS_C+=	kill_zombie
 .if ${MK_OPENSSL} != "no"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505030004.54304pMh035324>