diff options
-rw-r--r-- | acts_tests/tests/google/fuchsia/bt/gatt/GattConnectionStressTest.py | 6 |
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 = { |