tests: Add some debug output to memory-monitor-dbus.py test

This will hopefully help diagnose #2887.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #2887
This commit is contained in:
Philip Withnall 2024-01-22 11:22:45 +00:00
parent 5278efbd63
commit 8a4ad5f998

View File

@ -83,6 +83,7 @@ try:
self.fail(message or 'timed out waiting for ' + str(condition)) self.fail(message or 'timed out waiting for ' + str(condition))
def memory_warning_cb(self, monitor, level): def memory_warning_cb(self, monitor, level):
print("Received memory warning signal, level", level)
self.last_warning = level self.last_warning = level
self.main_context.wakeup() self.main_context.wakeup()