Skip to content

Commit

Permalink
Merging pull request 232
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>

* github.com:distributed-system-analysis/run-perf:
  Increase the provisioning timeout
  Be more agressive when rebooting the system
  • Loading branch information
ldoktor committed May 17, 2023
2 parents 81689cf + b06cb69 commit cbbf5ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runperf/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ def reboot(self):
"""Gracefully reboot the machine"""
self.log.debug(" Rebooting...")
with self.get_session_cont() as session:
session.sendline("reboot")
time.sleep(10)
session.sendline("reboot -f")
time.sleep(30)
with self.get_session_cont(360):
# Just checking whether it's obtainable
pass
Expand Down
2 changes: 1 addition & 1 deletion runperf/provisioners.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def provision(machine):
# Wait for 3 minutes to let beaker to restart the machine
time.sleep(180)

with machine.get_session_cont(2400) as session:
with machine.get_session_cont(3000) as session:
if not utils.wait_for_machine_calms_down(session, 1800):
machine.log.warning("Machine did not stabilize in 1800s, "
"proceeding on a loaded machine!")

0 comments on commit cbbf5ab

Please sign in to comment.