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

Skip to content
Commit cde5d53a authored by Steven Moreland's avatar Steven Moreland
Browse files

binderSafeInterfaceTest: avoid zombie

On 64-bit cuttlefish (and some other reported devices), this test was
failing to shut down properly (became a zombie process). In order to fix
this, this now forks a server much earlier, to avoid child processes
holding any resources.

Also, as an effect:
- no longer starting threadpool (only 1 thread is needed to process
test)
- using prctl to exit child process even in error cases

Bug: 174621701
Test: atest binderSafeInterfaceTest
 (on 64-bit cuttlefish, no longer hangs)
Change-Id: I326c42d0664e18c478efce83f935841e6dbfa8f3
parent 4aaa3105
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