areguera / rpms / cockpit

Forked from rpms/cockpit 5 years ago
Clone
Blob Blame History Raw
From 8f9b44617f2362d8d6dbb62c99a907c9018aa1f1 Mon Sep 17 00:00:00 2001
From: Martin Pitt <mpitt@redhat.com>
Date: Mon, 3 Jun 2019 15:01:28 +0200
Subject: [PATCH] test: Disable /packet-channel/large

In brew for 7.7 (and only there) this test is flaky and often fails with

    22 Invalid argument (<type 'exceptions.IOError'>, IOError(22, 'Invalid argument'), <traceback object at 0x7ffff7e15dd0>)

Disable this check until this gets debugged. It works fine on a RHEL 7.7
VM mock in upstream CI.
---
 src/bridge/test-packet-channel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bridge/test-packet-channel.c b/src/bridge/test-packet-channel.c
index 17b643ff8..d5f4552a3 100644
--- a/src/bridge/test-packet-channel.c
+++ b/src/bridge/test-packet-channel.c
@@ -620,8 +620,10 @@ main (int argc,
 
   g_test_add ("/packet-channel/echo", TestCase, NULL,
               setup_channel, test_echo, teardown);
+  /*
   g_test_add ("/packet-channel/large", TestCase, NULL,
               setup_channel, test_large, teardown);
+  */
   g_test_add ("/packet-channel/connect-in-progress",
               TestCase, &fixture_connect_in_progress,
               setup_channel, test_connect_in_progress, teardown);
-- 
2.21.0