17
0

2 Commits

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