Skip to content

Commit

Permalink
Merge pull request #16 from valkey-io/aiven-sal/flakytests
Browse files Browse the repository at this point in the history
Reduce test flakiness
  • Loading branch information
aiven-sal authored Jun 13, 2024
2 parents dcdbde3 + f34c03f commit 093748d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_blocking_timeout(self, r):
assert lock1.acquire(blocking=False)
bt = 0.4
sleep = 0.05
fudge_factor = 0.05
fudge_factor = 0.1
lock2 = self.get_lock(r, "foo", sleep=sleep, blocking_timeout=bt)
start = time.monotonic()
assert not lock2.acquire()
Expand Down

0 comments on commit 093748d

Please sign in to comment.