Skip to content

Commit e7d916e

Browse files
committed
Add comment and remove print
1 parent 26991d8 commit e7d916e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit/actor/test_actor_lifecycle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,9 @@ async def handler(websocket: websockets.asyncio.server.ServerConnection) -> None
284284

285285
await asyncio.sleep(1)
286286

287+
# It is enough to check the persist state event we send manually and the crawler final one.
287288
assert len(persist_state_events_data) >= 2
288289

289-
print(persist_state_events_data)
290-
291290
# Expect last event to be is_migrating=False (persistence event on exiting EventManager)
292291
assert persist_state_events_data.pop() == EventPersistStateData(is_migrating=False)
293292
# Expect second last event to be is_migrating=True (emitted on MIGRATING event)

0 commit comments

Comments
 (0)