Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 488c6a12 authored by Myles Watson's avatar Myles Watson Committed by Hansong Zhang
Browse files

DirectHciTest: Increase the classic timeout

Bug: 148096951
Test: ./cert/run_device_cert.sh && ./cert/run_cert_facade_only.sh
Change-Id: I712083bdc55e540fef4a1672562037b381a6db24
parent af030e03
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
#   See the License for the specific language governing permissions and
#   limitations under the License.

from datetime import timedelta
import os
import sys
import logging
@@ -411,7 +412,8 @@ class DirectHciTest(GdFacadeOnlyBaseTestClass):
                return False

            # Cert Accepts
            cert_hci_event_asserts.assert_event_occurs(get_connect_request)
            cert_hci_event_asserts.assert_event_occurs(
                get_connect_request, timeout=timedelta(seconds=10))
            self.send_hal_hci_command(
                hci_packets.AcceptConnectionRequestBuilder(
                    connection_request.GetBdAddr(),
@@ -525,7 +527,8 @@ class DirectHciTest(GdFacadeOnlyBaseTestClass):
                    return True
                return False

            hci_event_asserts.assert_event_occurs(get_connect_request)
            hci_event_asserts.assert_event_occurs(
                get_connect_request, timeout=timedelta(seconds=10))
            self.enqueue_hci_command(
                hci_packets.AcceptConnectionRequestBuilder(
                    connection_request.GetBdAddr(),