Skip to content

Commit

Permalink
restart toolstack in test_linstor_missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wescoeur committed Jun 27, 2023
1 parent b2bcbed commit c562358
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/storage/linstor/test_linstor_sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ def test_linstor_missing(self, linstor_sr, host):
assert not sr.all_pbds_attached()
host.yum_install(packages)
linstor_installed = True

# Needed because the linstor driver is not in the xapi
# sm-plugins list because xcp-ng-linstor RPM has been
# removed by the `yum remove ...` call.
host.restart_toolstack(verify=True)

sr.plug_pbds(verify=True)
sr.scan()
finally:
Expand Down

0 comments on commit c562358

Please sign in to comment.