summaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-11-12 22:32:52 +0100
committerLudovic Courtès <ludo@gnu.org>2023-12-22 00:31:41 +0100
commit204f08c43eda95440530a038b8d5caa18f8743ee (patch)
tree7f6bfa5ce24ab60a39df0fac016a7e0d0cd4e9b6 /gnu/tests
parent7578c25b934a9a4550d6d47a75202c66556b8d47 (diff)
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
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/telephony.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/tests/telephony.scm b/gnu/tests/telephony.scm
index 442258dbc3..f159e970f7 100644
--- a/gnu/tests/telephony.scm
+++ b/gnu/tests/telephony.scm
@@ -184,6 +184,15 @@ jami account used as part of the jami configuration are left *unspecified*."
%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