commit | 96a6bbab455f42d1fa3020a6015667234a78afec | [log] [tgz] |
---|---|---|
author | Sam Balana <sbalana@google.com> | Mon May 02 18:00:28 2022 -0700 |
committer | Sam Balana <sbalana@google.com> | Mon May 02 18:00:28 2022 -0700 |
tree | 46c781aa19f087af304ead70b7ced4db4bc8f244 | |
parent | a9fb4bf80a5430b50e79f41f08b25e59bd949627 [diff] |
Extend timeout of WlanPolicyController configure Increase the timeout for WlanPolicyController._configure_wlan() such that ffx has enough time to stop the session manager. Short term fix for https://fxbug.dev/97316. Bug: 231252355 Test: act.py [...] -tc WlanSecurityComplianceABGTest Change-Id: I447cf842b3749db4a0c628d1852e09333bb4a3d6
diff --git a/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py b/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py index 53c5839..d3a136c 100644 --- a/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py +++ b/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py
@@ -53,7 +53,9 @@ self.policy_configured = False self._paused_session = False - def _configure_wlan(self, preserve_saved_networks, timeout=15): + # TODO(b/231252355): Lower default timeout to 15s once ffx becomes more + # performant and/or reliable. + def _configure_wlan(self, preserve_saved_networks, timeout=30): """Sets up wlan policy layer. Args: