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

Commit fdb2495d authored by Myles Watson's avatar Myles Watson Committed by Automerger Merge Worker
Browse files

AclManager: Add a timeout in the broadcast test am: b802128e am: 54438da6 am: 1866cd8c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1874055

Change-Id: I115f4fd913ee695af8c64a85b711c80f63f7dd6e
parents 79a03a1c 1866cd8c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@
#   limitations under the License.

from cert.gd_base_test import GdBaseTestClass
from cert.truth import assertThat
from datetime import timedelta
from hci.cert.acl_manager_test_lib import AclManagerTestBase


@@ -50,7 +52,7 @@ class AclManagerTest(GdBaseTestClass, AclManagerTestBase):
            cert_acl.send(hci_packets.PacketBoundaryFlag.FIRST_AUTOMATICALLY_FLUSHABLE,
                          hci_packets.BroadcastFlag.ACTIVE_PERIPHERAL_BROADCAST,
                          b'\x26\x00\x07\x00This is a Broadcast from the Cert')
            assertThat(dut_acl).emitsNone()
            assertThat(dut_acl).emitsNone(timeout=timedelta(seconds=1))

            cert_acl.send(hci_packets.PacketBoundaryFlag.FIRST_AUTOMATICALLY_FLUSHABLE,
                          hci_packets.BroadcastFlag.POINT_TO_POINT,