Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3de74c9 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

Decrease UserLifecycleTests.mUserSwitchTimeoutMs to 10 seconds.

In UserLifecycleTests, user switch timeouts in 30 seconds, and
these tests set UserSwitchObservers' timeout to 100 seconds for
the test session. But this doesn't make sense and causes the
logged reason behind the timeout to be less granular.

This CL changes UserSwitchObservers' timeout to 1/3 of the user
switch timeout, because UserSwitchObservers wait on that timeout
twice, in both onBeforeUserSwitching and onUserSwitching events.

Bug: 416164091
Test: atest UserLifecycleTests
Flag: TEST_ONLY
Change-Id: Ia7a5dad6e6571440fff9913f06e8a557ff15ea34
parent ecfe4c12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment