From: Simon McVittie <smcv@debian.org>
Date: Sun, 24 Oct 2021 22:38:20 +0100
Subject: Skip memory-monitor-dbus test if not specifically requested

This seems to be unreliable, particularly on non-x86.

Bug-Debian: https://bugs.debian.org/995178
Forwarded: no
---
 gio/tests/memory-monitor-dbus.py.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gio/tests/memory-monitor-dbus.py.in b/gio/tests/memory-monitor-dbus.py.in
index 7aae01e..1ee2a05 100755
--- a/gio/tests/memory-monitor-dbus.py.in
+++ b/gio/tests/memory-monitor-dbus.py.in
@@ -38,6 +38,8 @@ try:
             klass.start_system_bus()
             klass.dbus_con = klass.get_dbus(True)
 
+        @unittest.skipIf('DEB_ALLOW_FLAKY_TESTS' not in os.environ,
+                         'https://bugs.debian.org/995178')
         def setUp(self):
             try:
                 Gio.MemoryMonitor
