14
0
forked from pool/python-pyzmq

Accepting request 944483 from home:bnavigator:branches:devel:languages:python

- skip test_log due to flaky socket handling inside obs
  environments

OBS-URL: https://build.opensuse.org/request/show/944483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=100
This commit is contained in:
2022-01-08 12:37:17 +00:00
committed by Git OBS Bridge
parent d8af7e98df
commit cf75b87f4b
5 changed files with 61 additions and 5 deletions

27
less-flaky.patch Normal file
View File

@@ -0,0 +1,27 @@
---
zmq/tests/test_poll.py | 2 +-
zmq/tests/test_retry_eintr.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/zmq/tests/test_poll.py
+++ b/zmq/tests/test_poll.py
@@ -192,7 +192,7 @@ class TestSelect(PollZMQTestCase):
self.assertTrue(s1 not in rlist)
self.assertTrue(s2 not in rlist)
- @mark.flaky(reruns=3)
+ @mark.flaky()
def test_timeout(self):
"""make sure select timeout has the right units (seconds)."""
s1, s2 = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
--- a/zmq/tests/test_retry_eintr.py
+++ b/zmq/tests/test_retry_eintr.py
@@ -60,7 +60,7 @@ class TestEINTRSysCall(BaseZMQTestCase):
self.assertRaises(zmq.Again, push.send, b('buf'))
assert self.timer_fired
- @mark.flaky(reruns=3)
+ @mark.flaky()
def test_retry_poll(self):
x, y = self.create_bound_pair()
poller = zmq.Poller()