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

Skip to content
Commit 269d9525 authored by Hungming Chen's avatar Hungming Chen
Browse files

resolver_test: Subscribe to death notification of service IDnsResolver

Currently, unit test may pass as even if Netd crashes and restarts quickly.
Subscribe the service death recipient of service IDnsResolver which is
loaded by Netd to detect any Netd death all the time. It helps to early
detect the bug likes b/123044370 before submitting commit.

Test: as follows
      1. built, flashed, booted
         system/netd/tests/runtests.sh passes
      2. kill netd manually during running resolv_integration_test and
         check if the death recipient aborts testing.

Change-Id: I8e5dd045e23aec4f7454172ce24f6860e1288f35
parent cdf9cb2a
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