Re: [PATCH libgpiod] dbus: client: tests: fix the way we wait for simulated chips to appear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Mon, 03 Feb 2025 18:20:27 +0100, Bartosz Golaszewski wrote:
> The org.freedesktop.DBus.Peer.Ping() method isn't correct for checking
> if a given object is exposed by a service. It only lets us know if the
> service is available no matter the object on which it's called (in fact:
> it will not return an error even if it's called on a nonexistent object).
> 
> While this has worked for most part by accident, if the timing isn't
> right, we may start calling methods in chips which are not yet fully
> registered. We should try to read the chip's property instead and keep
> on waiting for as long as org.freedesktop.DBus.Properties.Get() returns
> an error.
> 
> [...]

Applied, thanks!

[1/1] dbus: client: tests: fix the way we wait for simulated chips to appear
      commit: f52874b19beab4d0a1cfc076f7a0eb7d6df5d1e1

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux