Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/frequenz/client/base/streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def is_running(self) -> bool:

async def stop(self) -> None:
"""Stop the streaming helper."""
_logger.info("%s: stopping the stream", self._stream_name)
if self._task.done():
return
self._task.cancel()
Expand Down
5 changes: 5 additions & 0 deletions tests/streaming/test_grpc_stream_broadcaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ async def test_streaming_error( # pylint: disable=too-many-arguments
'\tdebug_error_string = "mock debug_error_string"\n'
">.",
),
(
"frequenz.client.base.streaming",
logging.INFO,
"test_helper: stopping the stream",
),
]


Expand Down
Loading