tests: jami: Check status of Jami D-Bus session.

* gnu/tests/telephony.scm (run-jami-test)["dbus session is up"]: New
test.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifa9b57c732f3c64e1ec6bf3028b69a57cee56320
This commit is contained in:
Ludovic Courtès 2023-11-12 22:32:52 +01:00
parent 7578c25b93
commit 204f08c43e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -184,6 +184,15 @@ (define marionette
%load-path)
marionette))
(test-assert "dbus session is up"
(and (marionette-eval
'(begin
(use-modules (gnu services herd))
(wait-for-service 'jami-dbus-session))
marionette)
(wait-for-unix-socket "/var/run/jami/bus"
marionette)))
(test-assert "service is running"
(marionette-eval
'(begin