From 68526062ca63f29213179ddd76b0284818911bae Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 24 Nov 2020 15:27:54 -0500 Subject: [PATCH] Disable flaky test Test: this Change-Id: I3dd39c4b774964ec6513601f520667db4870436a --- libs/hwui/tests/unit/CommonPoolTests.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/hwui/tests/unit/CommonPoolTests.cpp b/libs/hwui/tests/unit/CommonPoolTests.cpp index da6a2604a4b6b..bffdeca4db549 100644 --- a/libs/hwui/tests/unit/CommonPoolTests.cpp +++ b/libs/hwui/tests/unit/CommonPoolTests.cpp @@ -54,7 +54,9 @@ TEST(DISABLED_CommonPool, threadCount) { EXPECT_EQ(0, threads.count(gettid())); } -TEST(CommonPool, singleThread) { +// Disabled since this is flaky. This isn't a necessarily useful functional test, so being +// disabled isn't that significant. However it may be good to resurrect this somehow. +TEST(CommonPool, DISABLED_singleThread) { std::mutex mutex; std::condition_variable fence; bool isProcessing = false;