Skip to content

Commit

Permalink
test: Upgrade "wait for virt-install" hack to non-hack
Browse files Browse the repository at this point in the history
It is also needed on centos-10 now, and doesn't look the wrong thing
to do in any case.
  • Loading branch information
mvollmer committed Aug 13, 2024
1 parent db60f61 commit 53fad8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/check-machines-create
Original file line number Diff line number Diff line change
Expand Up @@ -1328,8 +1328,8 @@ vnc_password= "{vnc_passwd}"
user_login = virt_install_cmd_out.split("user-login=", 1)[1].split(",")[0].rstrip()
self.assertIn(user_login, self.user_login)

# HACK: wait for virt-install to finish; this only races on tumbleweed
if self.machine.image == 'opensuse-tumbleweed' and self.create_and_run:
# wait for virt-install to finish
if self.create_and_run:
self.machine.execute(f"while {virt_install_cmd}; do sleep 1; done", timeout=300)

def fill(self):
Expand Down

0 comments on commit 53fad8a

Please sign in to comment.