Adding the reviews of the change that caused the flake. Please reassign as needed, or if you don't have the time, thanks!
Would be happy to rejig/refactor change if it is non-idiomatic - apologies if so, this is outside my normal area.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Wayland] Fix tests that were flaking due to Token Request Timeout
A previous change added XDG Activation during window show, as part of a
stricter window activation policy. To activate a window, we create an
activation token request (see: XdgActivation::TokenRequest::
InitiateRequest). This request has a timeout of 500ms and is implemented
as a OneShotTimer.
Most of the time, ozone unit tests complete so quickly that the
existence of this timer is not a concern. However, when the system is
under load, or slow for any reason (these tests were most flakey on
ASAN/TSAN), this callback can interfere with the main test body, by
calling a watched method, or simply by changing event timestamps.
This change advances the mock test time by one second upon test set up
so that this callback always returns early by the perspective of the
tests.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |