Skip to content

Commit c36219f

Browse files
committed
Increased timer to avoid flackiness
1 parent 7340aad commit c36219f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_asyncio/test_hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ async def test_hexpireat_multiple_fields(r):
177177
)
178178
exp_time = int((datetime.now() + timedelta(seconds=1)).timestamp())
179179
assert await r.hexpireat("test:hash", exp_time, "field1", "field2") == [1, 1]
180-
await asyncio.sleep(1.1)
180+
await asyncio.sleep(1.5)
181181
assert await r.hexists("test:hash", "field1") is False
182182
assert await r.hexists("test:hash", "field2") is False
183183
assert await r.hexists("test:hash", "field3") is True

0 commit comments

Comments
 (0)