summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2020-11-24 15:27:54 -0500
committer John Reck <jreck@google.com> 2020-11-24 15:27:54 -0500
commit68526062ca63f29213179ddd76b0284818911bae (patch)
tree3de1b3ab8901734cb38dd68a227ff30d1f49037f
parent53eaccb6988a4254bc8914b6f054df8c31dc7cd9 (diff)
Disable flaky test
Test: this Change-Id: I3dd39c4b774964ec6513601f520667db4870436a
-rw-r--r--libs/hwui/tests/unit/CommonPoolTests.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/tests/unit/CommonPoolTests.cpp b/libs/hwui/tests/unit/CommonPoolTests.cpp
index da6a2604a4b6..bffdeca4db54 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;