-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The functionality to enable networking (i.e. turn off airplane mode and turn on wifi) is done asynchronously within `A11yGrpcWrapper._fetch_task_extras()`. Under some conditions, repeated calls could interfere with each other before the `concurrent.futures.Future` was reset, and this caused one test case to fail. This change makes this 100% robust by moving the reset to the top of the function to avoid having the reset trigger within the same call of `_fetch_task_extras()`. PiperOrigin-RevId: 716214824
- Loading branch information
1 parent
f612730
commit fa2f00c
Showing
2 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters