binder: mark binder_alloc_exhaustive_test as slow
Carlos Llamas
maintainerPATCH 1/1 binder: mark binder_alloc_exhaustive_test as slow
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.
--- drivers/android/tests/binder_alloc_kunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/tests/binder_alloc_kunit.c +1 -1
@@ -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), {} };
Signature · 1 line
2.51.1.821.gb6fe4d2222-goog
Quoted 19 lines · Carlos Llamas
The
binder_alloc_exhaustive_testkunit 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 <[email protected]>Signed-off-by Carlos Llamas <[email protected]>--- drivers/android/tests/binder_alloc_kunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/android/tests/binder_alloc_kunit.c +0
-0
drivers/android/tests/binder_alloc_kunit.c static void binder_alloc_test_exit(struct kunit *test) · line 559
Quoted 7 lines
drivers/android/tests/binder_alloc_kunit.c +1
-1@@ -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), {} };
Signature · 1 line
Tiffany Y. Yang
Quoted 9 lines · Carlos Llamas
The
binder_alloc_exhaustive_testkunit 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 <[email protected]>Signed-off-by Carlos Llamas <[email protected]>