Skip to content

Commit

Permalink
ifix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaswal committed Nov 29, 2024
1 parent c7dce77 commit 0378d90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/case/ietf_system/upgrade/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def set_boot_order(self, order):
should_boot=bootloader.get_boot_order().split()[0]
oper = target.get_dict("/system-state/software")
booted = oper["system-state"]["software"]["booted"]
print(f"Should: {should_boot}, booted: {booted}")
print(f"Should boot: {should_boot}, booted: {booted}")
assert(booted == should_boot)

with test.step("Restore boot order to original configured"):
Expand All @@ -130,6 +130,7 @@ def set_boot_order(self, order):
target.reboot()
if not wait_boot(target, env):
test.fail()
target = env.attach("target", "mgmt", "netconf")

with test.step("Verify the boot order is the orignal configured"):
# Wait for sshd to start.
Expand Down

0 comments on commit 0378d90

Please sign in to comment.