Skip to content

Commit b058569

Browse files
committed
explicitly disable oplock for basic test_redis cases
1 parent 838926f commit b058569

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/units/istate/manager/test_redis.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ async def test_basic_get_set(
7272
state_manager_redis: The StateManagerRedis to test.
7373
root_state: The root state class.
7474
"""
75+
state_manager_redis._oplock_enabled = False
76+
7577
token = str(uuid.uuid4())
7678

7779
fresh_state = await state_manager_redis.get_state(_substate_key(token, root_state))
@@ -90,6 +92,8 @@ async def test_modify(
9092
state_manager_redis: The StateManagerRedis to test.
9193
root_state: The root state class.
9294
"""
95+
state_manager_redis._oplock_enabled = False
96+
9397
token = str(uuid.uuid4())
9498

9599
# Initial modify should set count to 1

0 commit comments

Comments
 (0)