Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
systemsmanagement:saltstack:bundle:testing:Fedora34
saltbundlepy-pycurl
disable_randomly_failing_tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable_randomly_failing_tests.patch of Package saltbundlepy-pycurl
Index: pycurl-7.45.1/tests/memory_mgmt_test.py =================================================================== --- pycurl-7.45.1.orig/tests/memory_mgmt_test.py +++ pycurl-7.45.1/tests/memory_mgmt_test.py @@ -9,6 +9,7 @@ import unittest import gc import flaky from . import util +import pytest debug = False @@ -17,6 +18,7 @@ if sys.platform == 'win32': else: devnull = '/dev/null' +@pytest.mark.occasionally_failing @flaky.flaky(max_runs=3) class MemoryMgmtTest(unittest.TestCase): def maybe_enable_debug(self): Index: pycurl-7.45.1/tests/multi_memory_mgmt_test.py =================================================================== --- pycurl-7.45.1.orig/tests/multi_memory_mgmt_test.py +++ pycurl-7.45.1/tests/multi_memory_mgmt_test.py @@ -7,11 +7,13 @@ import unittest import gc import flaky import weakref +import pytest from . import util debug = False +@pytest.mark.occasionally_failing @flaky.flaky(max_runs=3) class MultiMemoryMgmtTest(unittest.TestCase): def test_opensocketfunction_collection(self): Index: pycurl-7.45.1/tests/multi_timer_test.py =================================================================== --- pycurl-7.45.1.orig/tests/multi_timer_test.py +++ pycurl-7.45.1/tests/multi_timer_test.py @@ -5,6 +5,7 @@ from . import localhost import pycurl import unittest +import pytest from . import appmanager from . import util @@ -23,6 +24,7 @@ def teardown_module(mod): teardown_module_2(mod) teardown_module_1(mod) +@pytest.mark.occasionally_failing class MultiSocketTest(unittest.TestCase): def test_multi_timer(self): urls = [ Index: pycurl-7.45.1/pytest.ini =================================================================== --- pycurl-7.45.1.orig/pytest.ini +++ pycurl-7.45.1/pytest.ini @@ -7,3 +7,4 @@ markers = gssapi: mark a test as requiring GSSAPI http2: mark a test as requiring HTTP/2 standalone: mark a test as being standalone + occasionally_failing: mark a test as occasionally failing
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor