3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00
iwd/autotests/testAgent
James Prestwood cfb782cfff auto-t: remove sleep in testAgent
The test here is verifying that a DBus Connect() call will still
work with 'other' agents registered. In this case it uses iwctl to
set a password, then call Connect() manually.

The problem here is that we have no way of knowing when iwctl fully
starts and registers its agent. There was a sleep in there but that
is unreliable and we occationally were still getting past that without
iwctl having started fully.

To fix this properly we need to wait for iwctl's agent service to appear
on the bus. Since the bus name is unknown we must first find all names,
then cross reference their PID's against the iwctl PID. This is done
using ListNames, and GetConnectionUnixProcessID APIs.
2022-06-24 18:11:49 -05:00
..
agent_test.py auto-t: remove sleep in testAgent 2022-06-24 18:11:49 -05:00
hw.conf auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
ssid1.conf auto-t: Test Agent ops 2020-05-13 05:50:45 -05:00
ssid2.conf auto-t: Test Agent ops 2020-05-13 05:50:45 -05:00