Package: glib2.0 / 2.66.8-1

debian/gmenumodel-test-Mark-as-flaky.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Simon McVittie <smcv@debian.org>
Date: Fri, 26 Jul 2019 23:49:03 +0100
Subject: gmenumodel test: Mark as flaky

This test has not had a great history of reliability.

Signed-off-by: Simon McVittie <smcv@debian.org>
Bug-Debian: https://bugs.debian.org/932678
Forwarded: no
---
 gio/tests/gmenumodel.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gio/tests/gmenumodel.c b/gio/tests/gmenumodel.c
index fc0fcea..5c54551 100644
--- a/gio/tests/gmenumodel.c
+++ b/gio/tests/gmenumodel.c
@@ -1147,6 +1147,12 @@ test_dbus_peer_subscriptions (void)
 {
   PeerConnection peer;
 
+  if (g_getenv ("DEB_ALLOW_FLAKY_TESTS") == NULL)
+    {
+      g_test_skip ("Not reliable? #932678");
+      return;
+    }
+
   peer_connection_up (&peer);
   do_subscriptions (peer.server_connection, peer.client_connection);
   peer_connection_down (&peer);