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

Commit cd475334 authored by Myles Watson's avatar Myles Watson
Browse files

Cert: Use LOW_LATENCY 100ms adv in test_background_connection

LeAclManagerTest.test_background_connection fails with real
devices more often than it should.  When it passes, the
connection completes after 8 seconds.

Advertise more frequently to see if we can improve the
connection latency.

Bug: 199899668
Test: cert/run
Tag: #refactor
Change-Id: Ic9130f22e39bff1601537e43961be676b9a47567
parent 755909a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -313,8 +313,8 @@ class LeAclManagerTest(gd_base_test.GdBaseTestClass):
            hci_packets.LeSetExtendedAdvertisingLegacyParametersBuilder(
                advertising_handle,
                hci_packets.LegacyAdvertisingProperties.ADV_IND,
                400,
                450,
                155,  # 100ms = 160 * .625ms "LOW_LATENCY"
                165,
                7,
                hci_packets.OwnAddressType.RANDOM_DEVICE_ADDRESS,
                hci_packets.PeerAddressType.PUBLIC_DEVICE_OR_IDENTITY_ADDRESS,