commit | 675e0f5b41d1c42fd07b0d5fb77352149efb9335 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Aug 18 22:13:24 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Nov 18 01:40:22 2020 +0900 |
tree | 676b4cfc38e0c8ad1d3d6080a4955e48d79df5b1 | |
parent | bc5c074fe0764bf86c54de54df977b64305f3600 [diff] |
Test that IpClient does not leak fds on shutdown. This CL adds a test that repeatedly shuts down and restarts IpClient and checks that the number of open FDs was the same as it was before. Bug: 161330494 Test: reverting aosp/1364277 makes test fail Test: atest NetworkStackNextIntegrationTests:IpClientIntegrationTest Test: atest --rerun-until-failure 100 NetworkStackNextIntegrationTests:IpClientIntegrationTest#testNoFdLeaks Change-Id: If6f9204e221df200dc762508ba14ff7150c8835a