Skip to content

Commit

Permalink
Wait for status in dome status before finishing the command
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 9, 2025
1 parent 1d4b57f commit bde1806
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
* Check if the drive is in error state before moving the dome.
* Renamed registers `dome_status[1|2]` to `drive_status[1|2]`.

### 🔧 Fixed

* Wait for status to be output in `lvmecp dome status` before finishing the command.

### ⚙️ Engineering

* Use `pytest-timeout`.
Expand Down
1 change: 1 addition & 0 deletions python/lvmecp/actor/commands/dome.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ async def status(command: ECPCommand):
use_cache=False,
force_output=True,
command=command,
wait=True,
)

if status is None:
Expand Down

0 comments on commit bde1806

Please sign in to comment.