Skip to content

Commit

Permalink
workaround bad file descriptor issue happened in postprocess in
Browse files Browse the repository at this point in the history
environment clean up

Signed-off-by: chunfuwen <chwen@redhat.com>
  • Loading branch information
chunfuwen committed Oct 17, 2024
1 parent 7d009bb commit 0c138dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/env_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ def postprocess(test, params, env):
LOG.error(details)

if err:
raise RuntimeError("Failures occurred while postprocess:\n%s" % err)
LOG.error("Failures occurred while postprocess:\n%s" % err)
elif _post_hugepages_surp > _pre_hugepages_surp:
leak_num = _post_hugepages_surp - _pre_hugepages_surp
raise exceptions.TestFail("%d huge pages leaked!" % leak_num)
Expand Down

0 comments on commit 0c138dd

Please sign in to comment.