mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-14 02:10:00 +08:00
chore: add 1s for tolerance in redislock (#1367)
This commit is contained in:
@@ -49,6 +49,5 @@ func TestRedisLock(t *testing.T) {
|
||||
firstAcquire, err = firstLock.Acquire()
|
||||
assert.Nil(t, err)
|
||||
assert.True(t, firstAcquire)
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user