diff options
author | Per Larsen <perlarsen@google.com> | 2023-10-04 19:49:39 +0000 |
---|---|---|
committer | Per Larsen <perlarsen@google.com> | 2023-10-04 19:49:39 +0000 |
commit | e53dc26d14a535cf6674c08dfbec88ed138ec03e (patch) | |
tree | 68dd6299cddbd822e25a1e17038d76fcd5cd1f8e /app | |
parent | a064e66c998a011259d220303879fe83afbbbf59 (diff) | |
download | common-e53dc26d14a535cf6674c08dfbec88ed138ec03e.tar.gz |
threadtest: disable flaky thread cookie tests
Thread cookie tests that may panic in thread_resched are flakey
and need non-trivial updates to ensure correctness and reliability.
Disable these tests until they can be properly fixed.
Bug: 300168583
Test: build.py --test com.android.kernel.threadtest (run repeatedly)
Change-Id: I0e5f37b2e412d939e7f1d107850d5f808df343ea
Diffstat (limited to 'app')
-rw-r--r-- | app/threadtest/threadtest.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/threadtest/threadtest.c b/app/threadtest/threadtest.c index 4ede555e..03bb35de 100644 --- a/app/threadtest/threadtest.c +++ b/app/threadtest/threadtest.c @@ -76,7 +76,8 @@ static int thread_test_corrupt_cookie_before_yield_fn(void *unused) { return ERR_GENERIC; } -TEST(threadtest, cookie_corruption_before_yield_must_panic) { +/* TODO(b/300168583): fix test flakyness. */ +TEST(threadtest, DISABLED_cookie_corruption_before_yield_must_panic) { int ret; ret = threadtest_run_in_thread("yielding_cookie_corrupter_thread", thread_test_corrupt_cookie_before_yield_fn, @@ -103,7 +104,8 @@ static int thread_test_corrupt_cookie_before_preempt_fn(void *unused) { return ERR_GENERIC; } -TEST(threadtest, cookie_corruption_before_preempt_must_panic) { +/* TODO(b/300168583): fix test flakyness. */ +TEST(threadtest, DISABLED_cookie_corruption_before_preempt_must_panic) { int ret; ret = threadtest_run_in_thread("preempted_cookie_corrupter_thread", thread_test_corrupt_cookie_before_preempt_fn, |