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

Skip to content
Commit 61fd9f9a authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Finish mocking in finally clause

Failure of testIpClientServiceAvailableAfterPolling could cause tests in
the same process to fail because the mockito session is not finalized.
Use try / finally to make sure finishMocking is called.

Test: atest ModuleNetworkStackClientTest
Bug: 139314310
Change-Id: I95cc24e789c5af5f655c875314ed97f50121166c
parent eb138e5d
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