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
This commit is contained in:
Simon McVittie 2021-10-24 22:38:20 +01:00 committed by su-fang
parent 014c7d2287
commit cf8831d346
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,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