Skip to content

Commit 8168034

Browse files
committed
fixed
1 parent d424168 commit 8168034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pytest/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ async def test_logger_called_even_when_processor_fails_to_initialize(
199199
async for result in rollout_processor_with_retry(mock_rollout_processor, sample_dataset, mock_config):
200200
pass
201201

202-
# Verify cleanup was called even though the function failed
203-
mock_rollout_processor.cleanup.assert_called_once()
202+
# Verify async cleanup was called even though the function failed
203+
mock_rollout_processor.aclose.assert_awaited_once()

0 commit comments

Comments
 (0)