summaryrefslogtreecommitdiff
path: root/tests/test_lock.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-04-04 12:33:58 +0300
committerGitHub <noreply@github.com>2022-04-04 12:33:58 +0300
commitd41f8aab791fe0d9a620f99ad0b277f5eed47c5f (patch)
treee790b23db8c53d381f7b03b5d6d84997ff89f5c8 /tests/test_lock.py
parent17f1140506310748a4f8164259d73fd0a4d362d5 (diff)
downloadredis-py-d41f8aab791fe0d9a620f99ad0b277f5eed47c5f.tar.gz
Clean up test supoort enterprise environments (#2082)
* skip tests on enterprise * delete dping implementation
Diffstat (limited to 'tests/test_lock.py')
-rw-r--r--tests/test_lock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_lock.py b/tests/test_lock.py
index 01ecb88..0a63f1e 100644
--- a/tests/test_lock.py
+++ b/tests/test_lock.py
@@ -100,7 +100,7 @@ class TestLock:
def test_blocking_timeout(self, r):
lock1 = self.get_lock(r, "foo")
assert lock1.acquire(blocking=False)
- bt = 0.2
+ bt = 0.4
sleep = 0.05
lock2 = self.get_lock(r, "foo", sleep=sleep, blocking_timeout=bt)
start = time.monotonic()