Skip to content

Commit

Permalink
Merge pull request #365 from softdevteam/wait-for-boot
Browse files Browse the repository at this point in the history
Re-add the wait for the system to come up.
  • Loading branch information
ltratt authored Nov 16, 2017
2 parents b022d26 + bfa452a commit 30d9c6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions krun/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,12 @@ def _make_post_cmd_env(self, results):
def run(self):
"""Benchmark execution starts here"""

# In reboot mode, wait for the system to come up before we proceed
if self.platform.hardware_reboots:
debug("Waiting %s seconds for the system to come up." %
str(STARTUP_WAIT_SECONDS))
self.platform.sleep(STARTUP_WAIT_SECONDS)

# Important that the dmesg is collected after the above startup wait.
# Otherwise we get spurious dmesg changes.
self.platform.collect_starting_dmesg()
Expand Down

0 comments on commit 30d9c6b

Please sign in to comment.