[gnome-settings-daemon/benzea/tests-output-checker] XXX: even more debugging



commit aaea68dd06f3927b0421cf82b3ab0460d4aefc9e
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Feb 15 13:27:01 2021 +0100

    XXX: even more debugging

 plugins/power/test.py | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 07fe72df..f8c0356c 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -144,16 +144,27 @@ class PowerPluginBase(gsdtestcase.GSDTestCase):
 
     def tearDown(self):
 
+        print("tear down")
         daemon_running = self.daemon.poll() == None
         if daemon_running:
+            print("terminating daemon")
             self.daemon.terminate()
+            print("waiting daemon")
             self.daemon.wait()
+            print("daemon done")
+        print("checking log is closed")
         self.plugin_log.assert_closed()
+        print("log closed")
 
+        print("terminating upowerd")
         self.upowerd.terminate()
+        print("terminating upowerd done")
         self.upowerd.wait()
+        print("waiting upowerd done")
         self.screensaver.terminate()
+        print("terminating screensaver done")
         self.screensaver.wait()
+        print("waiting screensaver done")
         self.stop_session()
         self.stop_mutter()
         self.stop_logind()


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