SHA256
1
0
forked from pool/frr

Accepting request 858155 from home:rtorrero:branches:network

- Disable ZeroMQ tests due to sporadic timeouts during package builds (bsc#1180217)
  [+ 0001-disable-zmq-test.patch]

OBS-URL: https://build.opensuse.org/request/show/858155
OBS-URL: https://build.opensuse.org/package/show/network/frr?expand=0&rev=24
This commit is contained in:
Martin Hauke 2020-12-22 12:46:45 +00:00 committed by Git OBS Bridge
parent c81535df89
commit 94cb5e92a0
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From a19581f960db4c5f4f3b759e2d7ecf3e9ac73381 Mon Sep 17 00:00:00 2001
From: Ruben Torrero Marijnissen <rtorreromarijnissen@suse.com>
Date: Mon, 21 Dec 2020 18:36:43 +0000
Subject: [PATCH] tests: disable zeromq tests due to build service timeouts
References: bsc#1180217
---
tests/lib/test_zmq.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/lib/test_zmq.py b/tests/lib/test_zmq.py
index 1f8ee5416..b298fe7b5 100644
--- a/tests/lib/test_zmq.py
+++ b/tests/lib/test_zmq.py
@@ -5,7 +5,6 @@ import os
class TestZMQ(frrtest.TestRefOut):
program = './test_zmq'
- @pytest.mark.skipif('S["ZEROMQ_TRUE"]=""\n' not in open('../config.status').readlines(),
- reason='ZEROMQ not enabled')
+ @pytest.mark.xfail(reason="Test disabled due to intermittent build service timeouts")
def test_refout(self):
return super(TestZMQ, self).test_refout()
--
2.29.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 22 10:54:56 UTC 2020 - Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
- Disable ZeroMQ tests due to sporadic timeouts during package builds (bsc#1180217)
[+ 0001-disable-zmq-test.patch]
-------------------------------------------------------------------
Wed Nov 4 19:17:10 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -41,6 +41,7 @@ URL: https://www.frrouting.org
#Git-Clone: https://github.com/FRRouting/frr.git
Source: https://github.com/FRRouting/frr/archive/%{name}-%{version}.tar.gz
Source1: %{name}-tmpfiles.d
Patch1: 0001-disable-zmq-test.patch
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
@ -180,6 +181,7 @@ developing OSPF-API and frr applications.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%build
# GCC LTO objects must be "fat" to avoid assembly errors