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

Skip to content
Commit c6f6d5ee authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudioService: Fix failing unit test

Now when the device is unbonded, we trigger the disconnection
if device is not in a disconnected state. Tests need to catch this
intent.

Fixes the following:

[31/39]
com.android.bluetooth.le_audio.LeAudioServiceTest#testDeleteStateMachineUnbondEvents:
FAILED (237ms)

STACKTRACE:
expected: 0
but was : 2
        at
	com.android.bluetooth.le_audio.LeAudioServiceTest.verifyConnectionStateIntent(LeAudioServiceTest.java:289)
        at
	com.android.bluetooth.le_audio.LeAudioServiceTest.generateConnectionMessageFromNative(LeAudioServiceTest.java:846)
        at
	com.android.bluetooth.le_audio.LeAudioServiceTest.testDeleteStateMachineUnbondEvents(LeAudioServiceTest.java:713)

Test: atest com.android.bluetooth.le_audio --no-bazel-mode
Bug: 249250843
Tag: #feature
Change-Id: I1f87ab52bb57af1fe1e55c9d7613b851c013c25c
parent f1790e9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment