Commit 3ef3c4d
committed
ExternalStylusIntegrationTest: Reduce likelihood for flake
In the test, an event will be generated after a 72ms timeout, and
we assert that no event is generated before that timeout. Since this
is a racy assertion, just wait for 1ms to ensure that an event isn't
immediately generated.
If this is not enough to bring the flakes rates to an acceptable level,
we will need to refactor the tests to remove the race altogether.
Bug: 386801813
Change-Id: Id223930925ce724e216e61a9e68e1da79bed6f04
Test: Presubmit
Flag: TEST_ONLY1 parent edc7146 commit 3ef3c4d
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2474 | 2474 | | |
2475 | 2475 | | |
2476 | 2476 | | |
2477 | | - | |
2478 | | - | |
2479 | | - | |
2480 | | - | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
2481 | 2481 | | |
2482 | 2482 | | |
2483 | 2483 | | |
| |||
0 commit comments