Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] 6d647f: test: functional: connect instead of pairing a bon...
@ 2026-10-13 18:32 Luiz Augusto von Dentz
  0 siblings, 0 replies; only message in thread
From: Luiz Augusto von Dentz @ 2026-10-13 18:32 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1184865
  Home:   https://github.com/bluez/bluez
  Commit: 6d647f300a566ad5a1d9b2ff54af0935d427e86a
      https://github.com/bluez/bluez/commit/6d647f300a566ad5a1d9b2ff54af0935d427e86a
  Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M test/functional/test_bap.py

  Log Message:
  -----------
  test: functional: connect instead of pairing a bonded BAP device

The hosts are shared between tests, so a device bonded by an earlier one
is still bonded when a later one pairs it, and pairing it again fails
with AlreadyExists. cmd_pair is meant to connect it instead, but it
checks Paired, which is not set until the services are resolved, so it
can still issue the pairing:

  FAILED test/functional/test_bap.py::test_bass_past_transport_acquire
  AssertionError: Failed to pair: org.bluez.Error.AlreadyExists

Check Bonded, which is what the pairing is rejected for, and connect the
device instead when it is set.

Assisted-by: OpenCode:claude-opus-5.5



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 18:32 [bluez/bluez] 6d647f: test: functional: connect instead of pairing a bon Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox