checks/garage: wait for ascend-garage-layout before switching

This commit is contained in:
Max Headroom 2023-09-06 02:20:15 +02:00
parent d7bcdd706b
commit 8814c21e3f

View file

@ -93,6 +93,9 @@ testers.runNixOSTest {
node.wait_until_fails("garage status | grep 'NO ROLE ASSIGNED'")
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:
node.succeed("/run/current-system/specialisation/modifiedLayout/bin/switch-to-configuration test")