From baea7ea8574707f25ec2bee87e4ca87149201d03 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 28 Dec 2023 21:20:20 -0500 Subject: [PATCH] Fixed mlanett-redis-lock test [skip ci] --- test/mlanett_redis_lock_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mlanett_redis_lock_test.rb b/test/mlanett_redis_lock_test.rb index 49c6019..42d6ad5 100644 --- a/test/mlanett_redis_lock_test.rb +++ b/test/mlanett_redis_lock_test.rb @@ -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