Re: [PATCH] binder: mark binder_alloc_exhaustive_test as slow
From: Tiffany Yang
Date: Fri Oct 24 2025 - 16:30:41 EST
Carlos Llamas <cmllamas@xxxxxxxxxx> writes:
The binder_alloc_exhaustive_test kunit test takes over 30s to complete
and the kunit framework reports:
# binder_alloc_exhaustive_test: Test should be marked slow (runtime:
33.842881934s)
Mark the test as suggested to silence the warning.
Cc: Tiffany Yang <ynaffit@xxxxxxxxxx>
Signed-off-by: Carlos Llamas <cmllamas@xxxxxxxxxx>
---
drivers/android/tests/binder_alloc_kunit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/android/tests/binder_alloc_kunit.c
b/drivers/android/tests/binder_alloc_kunit.c
index 9b884d977f76..7f9cc003bbe3 100644
--- a/drivers/android/tests/binder_alloc_kunit.c
+++ b/drivers/android/tests/binder_alloc_kunit.c
@@ -554,7 +554,7 @@ static void binder_alloc_test_exit(struct kunit *test)
static struct kunit_case binder_alloc_test_cases[] = {
KUNIT_CASE(binder_alloc_test_init_freelist),
KUNIT_CASE(binder_alloc_test_mmap),
- KUNIT_CASE(binder_alloc_exhaustive_test),
+ KUNIT_CASE_SLOW(binder_alloc_exhaustive_test),
{}
};
Reviewed-by: Tiffany Yang <ynaffit@xxxxxxxxxx>
--
Tiffany Y. Yang