Skip to content

Commit

Permalink
Fixed mlanett-redis-lock test [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 29, 2023
1 parent 043a5c1 commit baea7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mlanett_redis_lock_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class MlanettRedisLockTest < Minitest::Test
def test_acquire
redis = Redis.new
redis.lock("test", life: 1, acquire: 1, owner: "pid1")
assert_timeout(Redis::Lock::LockNotAcquired, timeout: 0.89) do
assert_timeout(Redis::Lock::LockNotAcquired, timeout: 0.88) do
redis.lock("test", life: 1, acquire: 1, owner: "pid2")
end
end
Expand Down

0 comments on commit baea7ea

Please sign in to comment.