commit | 4d8c70c0eb3fe1b213857fb68682032bbcddf1e7 | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Tue Sep 26 15:26:59 2023 +0900 |
committer | Motomu Utsumi <motomuman@google.com> | Tue Sep 26 15:52:34 2023 +0900 |
tree | 247948025b1b8485923e71b89dff08a9457f1bb8 | |
parent | 8a88d85145cda5604634ee295dd7770ae85037b6 [diff] |
Cleanup existing firewall rule on myUid before the test testFirewallCloseSocketAllowlistChainOtherUid sets the firewall rule on myUid + 1 and confirms this does not affect the network access from myUid. This test failed when there is an existing firewall rule on myUid. This CL cleans up the existing rule on myUid before running the test and restores the existing state after the test. Bug: 299898772 Test: atest CtsNetTestCases Change-Id: I9083ac41a64a8b81a8b4616c0d57a25355f5d53c