summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Turney <tturney@google.com>2020-09-18 22:18:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-18 22:18:04 +0000
commitf239558a1e397240ac2f89d32b3d478c1dbe3239 (patch)
treedfabf0be462745ee2dccc62a222b5f0191982ebe
parenta838988ad65635bbdd6048eeb8ea59dfc9b8d185 (diff)
parent8ad4aebd8142d458052bc1e180fefc20f54e298b (diff)
downloadplatform_tools_test_connectivity-f239558a1e397240ac2f89d32b3d478c1dbe3239.tar.gz
platform_tools_test_connectivity-f239558a1e397240ac2f89d32b3d478c1dbe3239.tar.bz2
platform_tools_test_connectivity-f239558a1e397240ac2f89d32b3d478c1dbe3239.zip
Merge "Increase scan time for GattConnectionStressTest"
-rw-r--r--acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py b/acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py
index 7d3ba45c23..2f2e666a8a 100644
--- a/acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py
+++ b/acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py
@@ -39,7 +39,7 @@ class GattConnectionStressTest(BaseTestClass):
gatt_connect_err_message = "Gatt connection failed with: {}"
gatt_disconnect_err_message = "Gatt disconnection failed with: {}"
ble_advertise_interval = 50
- scan_timeout_seconds = 10
+ scan_timeout_seconds = 60
default_iterations = 1000
def setup_class(self):
@@ -49,6 +49,10 @@ class GattConnectionStressTest(BaseTestClass):
self.default_iterations = self.user_params.get(
"gatt_connect_stress_test_iterations", self.default_iterations)
+ def on_fail(self, test_name, begin_time):
+ for fd in self.fuchsia_devices:
+ fd.take_bug_report(test_name, begin_time)
+
def _orchestrate_single_connect_disconnect(self):
adv_name = generate_id_by_size(10)
adv_data = {