15
0

Accepting request 1249263 from home:nkrapp:branches:devel:languages:python

- disable test broken in build env

OBS-URL: https://build.opensuse.org/request/show/1249263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus?expand=0&rev=19
This commit is contained in:
2025-03-03 10:33:30 +00:00
committed by Git OBS Bridge
parent efdae361fa
commit 0360b3a4e3
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 28 14:45:01 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- disable test broken in build env
-------------------------------------------------------------------
Tue Apr 9 02:34:22 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opencensus
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -84,7 +84,8 @@ sed -i -e 's:==:>=:g' setup.py
%check
%if %{with test}
# recursion error in mock != 3; gh#census-instrumentation/opencensus-python#868
donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or test_threaded_export)"
# test_create_from_traceback fails because paths are limited to 256 bytes and the path in the build env is too long.
donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or test_threaded_export) or test_create_from_traceback"
%pytest tests/unit -k "not ($donttest)"
%endif