Skip to content

Commit

Permalink
Merge pull request #795 from TasmiyaNalatwad/time_delay
Browse files Browse the repository at this point in the history
Adding Time Delay after Upstream kernel compilation before reboot starts.
  • Loading branch information
abdhaleegit authored Nov 13, 2023
2 parents 50f75d3 + 6144d31 commit 051b5e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcases/InstallUpstreamKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import unittest
import os
import re
import time

try:
from urllib.parse import urlparse
Expand Down Expand Up @@ -124,6 +125,7 @@ def is_url(path):
log.debug("Compile and install linux kernel")
con.run_command("make -j %d -s && make modules_install && make install" %
onlinecpus, timeout=self.host_cmd_timeout)
time.sleep(10)
if not self.use_kexec:
# FIXME: Handle distributions which do not support grub
con.run_command(
Expand Down

0 comments on commit 051b5e8

Please sign in to comment.