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

Commit 1866cd8c 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

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

Change-Id: Ib66ba1e24edd6f2d795fe4e305cd84590fc2d22f
parents 0988f632 54438da6
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,