google / mobly

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

Using tcp:0 in adb forward to pick available host port in snippet client #904

Closed mhaoli closed 9 months ago

mhaoli commented 9 months ago

This change is Reviewable

xpconanfan commented 9 months ago

Should probably mark utils.get_available_host_port as deprecated add a warning log and update the docstring to reflect. can be in a separate CL

mhaoli commented 9 months ago

Should probably mark utils.get_available_host_port as deprecated add a warning log and update the docstring to reflect. can be in a separate CL

Sg. And yeah, let's submit this CL and make sure this doesn't break users first :)