checks/garage: wait for ascend-garage-layout before switching
This commit is contained in:
parent
d7bcdd706b
commit
8814c21e3f
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ testers.runNixOSTest {
|
||||||
node.wait_until_fails("garage status | grep 'NO ROLE ASSIGNED'")
|
node.wait_until_fails("garage status | grep 'NO ROLE ASSIGNED'")
|
||||||
|
|
||||||
with subtest("should apply new layout with ascension"):
|
with subtest("should apply new layout with ascension"):
|
||||||
|
for node in nodes:
|
||||||
|
node.wait_until_succeeds('test "$(systemctl is-active ascend-garage-layout)" != activating')
|
||||||
|
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
node.succeed("/run/current-system/specialisation/modifiedLayout/bin/switch-to-configuration test")
|
node.succeed("/run/current-system/specialisation/modifiedLayout/bin/switch-to-configuration test")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue