summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2023-02-23 14:32:17 -0600
committer Patrick Williams <pdwilliams@google.com> 2023-02-23 14:39:58 -0600
commit22ce37c26281c81eb626ff5379baff35722769e7 (patch)
treead10b5d1771ac37930c2bd041f635b27de1a26d2
parent89d7a1271f74e90e7bde519d800ffcda359394eb (diff)
SF: Disable OneShotTimerTest#noCallbacksAfterStopAndResetTest
This test is currently very flakey and the other tests in the same suite have already been disabled. Bug: 186417847 Test: n/a, disabling a flakey test Change-Id: Ib9702d55a6b79cc07394beea2eb488d1267cfe43
-rw-r--r--services/surfaceflinger/tests/unittests/OneShotTimerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/tests/unittests/OneShotTimerTest.cpp b/services/surfaceflinger/tests/unittests/OneShotTimerTest.cpp
index aafc323a9b..d08e12c7a4 100644
--- a/services/surfaceflinger/tests/unittests/OneShotTimerTest.cpp
+++ b/services/surfaceflinger/tests/unittests/OneShotTimerTest.cpp
@@ -224,7 +224,8 @@ TEST_F(OneShotTimerTest, DISABLED_timeoutCallbackExecutionTest) {
EXPECT_FALSE(mResetTimerCallback.waitForUnexpectedCall().has_value());
}
-TEST_F(OneShotTimerTest, noCallbacksAfterStopAndResetTest) {
+// TODO(b/186417847) This test is flaky. Reenable once fixed.
+TEST_F(OneShotTimerTest, DISABLED_noCallbacksAfterStopAndResetTest) {
fake::FakeClock* clock = new fake::FakeClock();
mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms,
mResetTimerCallback.getInvocable(),