Skip to content

Commit 611bd6f

Browse files
committed
test: oplock test failing fix.
1 parent 3f37290 commit 611bd6f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/units/test_app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,9 @@ async def form(): # noqa: RUF029
11241124

11251125
assert updates[-1]["final"]
11261126

1127+
if environment.REFLEX_OPLOCK_ENABLED.get():
1128+
await app.state_manager.close()
1129+
11271130
state = await app.state_manager.get_state(_substate_key(token, FileUploadState))
11281131
substate = (
11291132
state

0 commit comments

Comments
 (0)