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

Commit 35bd35fd authored by Jack He's avatar Jack He
Browse files

PairingTest: Do not enforce order on 2nd UUID expectation

Currently it may come before or after ACTION_PAIRING_REQUEST

Bug: 364935568
Test: atest BumbleBluetoothTests:android.bluetooth.pairing.PairingTest#testCancelBondLe_WithGattServiceDiscover
Flag: EXEMPT test fix
Change-Id: I3a002f407e3e7ce859ccdb11814c410912570096
parent e69b45c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -459,7 +459,7 @@ public class PairingTest {

        // Wait for GATT service discovery to complete on Android
        // so that ACTION_UUID is received here.
        verifyIntentReceived(
        verifyIntentReceivedUnordered(
                hasAction(BluetoothDevice.ACTION_UUID),
                hasExtra(BluetoothDevice.EXTRA_UUID, Matchers.hasItemInArray(BATTERY_UUID)));