forked from pool/python-redis
Accepting request 1190500 from home:darix:apps
- replace with pypi tarball again - Fix filelist - Update to 5.0.8 Required update to support Redis 7.4.0 https://github.com/redis/redis-py/releases/tag/v5.0.8 https://github.com/redis/redis-py/releases/tag/v5.0.7 https://github.com/redis/redis-py/releases/tag/v5.0.6 https://github.com/redis/redis-py/releases/tag/v5.0.5 https://github.com/redis/redis-py/releases/tag/v5.0.4 https://github.com/redis/redis-py/releases/tag/v5.0.3 https://github.com/redis/redis-py/releases/tag/v5.0.2 - drop Close-various-objects-created-during-asyncio-tests.patch included in update - New BR numpy for the testsuite OBS-URL: https://build.opensuse.org/request/show/1190500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=90
This commit is contained in:
23
increase-test-timeout.patch
Normal file
23
increase-test-timeout.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Index: redis-5.0.1/tests/test_asyncio/test_lock.py
|
||||
===================================================================
|
||||
--- redis-5.0.1.orig/tests/test_asyncio/test_lock.py
|
||||
+++ redis-5.0.1/tests/test_asyncio/test_lock.py
|
||||
@@ -107,7 +107,7 @@ class TestLock:
|
||||
async def test_blocking_timeout(self, r, event_loop):
|
||||
lock1 = self.get_lock(r, "foo")
|
||||
assert await lock1.acquire(blocking=False)
|
||||
- bt = 0.2
|
||||
+ bt = 0.3
|
||||
sleep = 0.05
|
||||
lock2 = self.get_lock(r, "foo", sleep=sleep, blocking_timeout=bt)
|
||||
start = event_loop.time()
|
||||
Index: redis-5.0.1/pytest.ini
|
||||
===================================================================
|
||||
--- redis-5.0.1.orig/pytest.ini
|
||||
+++ redis-5.0.1/pytest.ini
|
||||
@@ -10,4 +10,4 @@ markers =
|
||||
replica: replica tests
|
||||
experimental: run only experimental tests
|
||||
asyncio_mode = auto
|
||||
-timeout = 30
|
||||
+timeout = 40
|
Reference in New Issue
Block a user