summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-01-08 22:45:24 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-01-09 19:34:19 +0000
commitafb7d61d836667787c5e0b083be435a41c843126 (patch)
tree966997cc98b9f7f912b2815211e7846d5ac9d557 /libs/gui/DisplayLuts.cpp
parente7cc69ca7d96fe355fb24655e1a2f21e8579143f (diff)
Deflake ExternalStylusIntegrationTest test case
The integration test was testing a case where the code is expected to do nothing until a 72ms timeout expires, and then checking that an event is generated. To verify this, the test would wait exactly 72ms, and assert there were no events generated. Since this is an integration test, waiting the exact amount of time as the timeout used in the code is naturally flaky. Resolve this by using a smaller timeout that the one used in the code when enforcing that an event is not generated. Bug: 304787002 Test: atest ... --rerun-until-failure Change-Id: Ib0bcc6de149efee575d9fda6482fffaa2edfa15d
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions