[gnome-settings-daemon/benzea/tests-output-checker] XXX: Force close early
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/tests-output-checker] XXX: Force close early
- Date: Mon, 15 Feb 2021 12:06:31 +0000 (UTC)
commit a63c06fcabdf4f66335a2347c9b6d4b3e4859681
Author: Benjamin Berg <bberg redhat com>
Date: Mon Feb 15 13:06:19 2021 +0100
XXX: Force close early
plugins/power/test.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 3e881ab6..8cd0d699 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -179,6 +179,8 @@ class PowerPluginBase(gsdtestcase.GSDTestCase):
'''Stop GNOME session'''
assert self.session
+ self.session_log.force_close()
+
self.session.terminate()
self.session.wait()
# dummyapp.desktop survives the session. This keeps the FD open in the
@@ -186,7 +188,6 @@ class PowerPluginBase(gsdtestcase.GSDTestCase):
# 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]