Commit 9f7424cc authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

ktest: Add another monitor flush before installing kernel

On some tests that do multiple boots (patchcheck, bisect, etc), the build
of the next kernel to run may finish before the stable kernel has finished
booting. Then the install of the new kernel will fail when it tries to connect
as the machine has not finished the boot process.

Do one more monitor flush to make sure the machine is up and running before
trying to connect to it again.
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent c54367f9
......@@ -1391,6 +1391,11 @@ sub get_version {
}
sub start_monitor_and_boot {
# Make sure the stable kernel has finished booting
start_monitor;
wait_for_monitor 5;
end_monitor;
get_grub_index;
get_version;
install;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment