Skip to content

Commit

Permalink
Cover test for broadcast_send of process enter and move coordinator l…
Browse files Browse the repository at this point in the history
…ogic out
  • Loading branch information
unkcpz committed Dec 17, 2024
1 parent 8fcd597 commit 947fa3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plumpy/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ def on_entered(self, from_state: Optional[process_states.State]) -> None:
call_with_super_check(self.on_killed)

if self._coordinator and isinstance(self.state, enum.Enum):
# FIXME: this part should be tested first
# FIXME: move all to `coordinator.broadcast()` call and in rmq implement coordinator
from plumpy.rmq.exceptions import CommunicatorChannelInvalidStateError, CommunicatorConnectionClosed

Expand Down

0 comments on commit 947fa3b

Please sign in to comment.