Skip to content

Commit

Permalink
Ensure failover has not been disabled (#15699)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeagherix authored Feb 13, 2025
1 parent 7c81c58 commit 388fe2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/api2/test_261_iscsi_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2021,6 +2021,7 @@ def test__alua_config(iscsi_running):
_ensure_alua_state(False)

if ha:
assert call('failover.config')['disabled'] is False
_check_ha_node_configuration()

# Next create a target
Expand Down
1 change: 1 addition & 0 deletions tests/api2/test_262_iscsi_alua.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def wait_for_failover_in_progress(self, timeout=120):

@pytest.fixture(scope='class')
def alua_configured(self):
assert call('failover.config')['disabled'] is False
with ensure_service_enabled(SERVICE_NAME):
call('service.start', SERVICE_NAME)
with alua_enabled():
Expand Down

0 comments on commit 388fe2a

Please sign in to comment.