[gnome-settings-daemon/benzea/tests-output-checker] XXX: and more debug output
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/tests-output-checker] XXX: and more debug output
- Date: Mon, 15 Feb 2021 12:19:54 +0000 (UTC)
commit f78a46acfbc59a80f1cd215681c64078891cda14
Author: Benjamin Berg <bberg redhat com>
Date: Mon Feb 15 13:19:43 2021 +0100
XXX: and more debug output
plugins/power/test.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 8cd0d699..07fe72df 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -177,17 +177,21 @@ class PowerPluginBase(gsdtestcase.GSDTestCase):
def stop_session(self):
'''Stop GNOME session'''
+ print("stop GNOME session")
assert self.session
- self.session_log.force_close()
+ print("terminating session")
self.session.terminate()
+ print("waiting for process to finish")
self.session.wait()
+ print("force closing log next")
# dummyapp.desktop survives the session. This keeps the FD open in the
# CI environment when gnome-session fails to redirect the child output
# to journald.
# Though, gnome-session should probably kill the child anyway.
#self.session_log.assert_closed()
+ self.session_log.force_close()
def check_logind_gnome_session(self):
'''Check that gnome-session is built with logind support'''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]