Skip to content

Commit f98dd2e

Browse files
committed
dump_guest_core: Fix AttributeError in dump_guest_core test
Remove process.TimeoutError from exception handling, as it doesn't exist in avocado.utils.process module. Signed-off-by: wji <[email protected]>
1 parent 1eb1d9a commit f98dd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qemu/tests/dump_guest_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def check_vmcore_file():
8282
cmd = "dnf debuginfo-install -y %s" % " ".join(debuginfo_pkgs)
8383
try:
8484
process.run(cmd, timeout=900, shell=True)
85-
except (process.CmdError, process.TimeoutError) as e:
85+
except (process.CmdError, TimeoutError) as e:
8686
test.fail("Failed to install debuginfo packages: %s" % e)
8787

8888
trigger_core_dump_command = params["trigger_core_dump_command"]

0 commit comments

Comments
 (0)