google / mobly

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

Make snippet response logging length can be restricted. #684

Closed eric100lin closed 3 years ago

eric100lin commented 4 years ago

A revised version of PR 683.
We keep the behavior as-is and make snippet response logging length can be restricted.
User can set jsonrpc_client_base.SNIPPET_RESPONSE_LOGGING_LENGTH_LIMITATION through module wide variable.

This is similar to usage of adb.DEFAULT_GETPROP_TIMEOUT_SEC:
https://github.com/google/mobly/blob/master/mobly/controllers/android_device_lib/adb.py#38


This change is Reviewable

xpconanfan commented 3 years ago

Combining the points in this PR into #683