google / mobly

E2E test framework for tests with complex environment requirements.
https://github.com/google/mobly
Apache License 2.0
623 stars 174 forks source link

Event client clears host_port and device_port attribute #822

Closed mhaoli closed 2 years ago

mhaoli commented 2 years ago

Without cleaning host_port and device_port attribute of event client, there will be a caught exception during teardown_class process. Because the event client and snippet client will clean up the port forwarding configuration for the same port.

This problem occurs whenever the user uses an async RPC. But this exception will be caught, so it won't cause the test to fail.


This change is Reviewable