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

Skip to content
Commit cd8b0633 authored by Treehugger Robot's avatar Treehugger Robot Committed by 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
Original-Change: https://android-review.googlesource.com/1299389
Merged-In: I95cc24e789c5af5f655c875314ed97f50121166c
Change-Id: I95cc24e789c5af5f655c875314ed97f50121166c
parent 6421197f
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