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

Commit e3b9ec73 authored by Gopi Sakshihally Bhuthaiah's avatar Gopi Sakshihally Bhuthaiah
Browse files

Increased discovery timeout value to 5 seconds

With additional GATT Services (HOGP,Battery and DIS) on Bumble .
GATT Service discovery takes more time than earlier

Bug: 354697206
Test: atest -v DckScanTest DckGattTest
Flag: EXEMPT Test case
Change-Id: I260138ceb5e486fbe7ce7f99d054a7ee6d4c38ba
parent c50cae9d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ public class DckGattTest() {

        // 6. Discover GATT services offered by Bumble and expect successful service discovery.
        bumbleGatt.discoverServices()
        verify(gattCallback, timeout(TIMEOUT))
        verify(gattCallback, timeout(DISCOVERY_TIMEOUT))
            .onServicesDiscovered(any(), eq(BluetoothGatt.GATT_SUCCESS))

        // 7. Check if the required service (CCC_DK_UUID) is available on Bumble.
@@ -334,6 +334,7 @@ public class DckGattTest() {
    companion object {
        private const val TAG = "DckTest"
        private const val TIMEOUT: Long = 2000
        private const val DISCOVERY_TIMEOUT: Long = 5000
        private const val TEST_ADDRESS_RANDOM_STATIC = "F0:43:A8:23:10:11"

        // CCC DK Specification R3 1.2.0 r14 section 19.2.1.2 Bluetooth Le Pairing