]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
binder: mark binder_alloc_exhaustive_test as slow
authorCarlos Llamas <cmllamas@google.com>
Fri, 24 Oct 2025 16:15:02 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 12:24:19 +0000 (13:24 +0100)
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@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Tiffany Yang <ynaffit@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20251024161525.1732874-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/tests/binder_alloc_kunit.c

index 9b884d977f765a0e96a810675532d4832da970ea..7f9cc003bbe3ba8ea7737721c2096d2e43d624c6 100644 (file)
@@ -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),
        {}
 };