Skip to content

Commit aa088bd

Browse files
committed
test: Debug factory reset failure on CS10
Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent d6a269f commit aa088bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tmt/tests/booted/test-factory-reset.nu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def initial_build [] {
4141
# nu's cp doesn't have -T
4242
/usr/bin/cp -r -T $workdir_root $"($new_stateroot_path)/($workdir_root)"
4343

44-
tmt-reboot
44+
RUST_LOG=trace bootc status
45+
sleep 10sec
46+
tmt-reboot -c "systemctl reboot || sleep 10; systemctl --force --force reboot || reboot -f"
4547
}
4648

4749
# The second boot; verify we're in the factory reset deployment

0 commit comments

Comments
 (0)