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

Skip to content
Commit 81e5893e authored by Xiao Ma's avatar Xiao Ma
Browse files

Increase TEST_TIMEOUT_MS used in the integration test.

Increase the timeout from 400ms to 2s to preclude the flaky failure
due to the callback to be verified will hasn't been invoked before the
test case ends. For example, mCb.onQuit is wanted but not invoked in
some flaky tests, investigating the bugreport, the transition to
StoppingState takes 400ms+ sometimes after introducing the metrics
record implementation, then test just ends before execution of the
callback. Besides, increasing timeout to 2s doesn't bring extra time
consumption, the total consumed time comparison as below:

before:
time atest -ti NetworkStackIntegrationTests:IpClientIntegrationTest
real	0m44.292s

after:
time atest -ti NetworkStackIntegrationTests:IpClientIntegrationTest
real	0m44.802s

Bug: 163913194
Test: atest NetworkStackIntegrationTests
Change-Id: I093673cb1989a7e18545ef48b9bcc46b56fbbbfd
parent cbd0e12f
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