commit | 01f3fd3d80529fadc23d19683fc822a1f9746349 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Sun Apr 12 21:34:11 2020 +0900 |
committer | Chalard Jean <jchalard@google.com> | Mon Apr 13 20:25:30 2020 +0900 |
tree | 00ddbc2392196e31467f0f347206fd14d18d0e5d | |
parent | 2a22d6523569621d512807801f7279a1f0844fbd [diff] |
Increase test independence If a test fails without unregistering an agent, other tests will see their requests match the old agent. That means any test failing will fail all subsequent tests, which is not very helpful. Solve this by making sure the agents are unregistered before the test ends. Also ensure the requests are unregistered. Test: NetworkAgentTest Change-Id: I2c167803d478d31fd85dc6e6e621f35d36c68fb4