guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 07/12: tests: jami: Check status of Jami D-Bus session.
Date: Thu, 21 Dec 2023 18:36:53 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 204f08c43eda95440530a038b8d5caa18f8743ee
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 12 22:32:52 2023 +0100

    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
---
 gnu/tests/telephony.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]