Skip to content

Commit

Permalink
Remove invalid part of mount manager reload test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Apr 11, 2024
1 parent 58293fe commit 1c269cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/mounts/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,6 @@ async def test_reload_mounts(
assert len(coresys.resolution.suggestions_for_issue(mount.failed_issue)) == 2
assert len(systemd_service.ReloadOrRestartUnit.calls) == 1

# This shouldn't reload the mount again since this isn't a new failure
await coresys.mounts.reload()
assert len(systemd_service.ReloadOrRestartUnit.calls) == 1

# This should now remove the issue from the list
systemd_unit_service.active_state = "active"
await coresys.mounts.reload()
Expand Down

0 comments on commit 1c269cc

Please sign in to comment.