Skip to content

Commit

Permalink
Merge pull request #5415 from smitterl/improve_crypto_nodedev
Browse files Browse the repository at this point in the history
crypto_nodedev: improve reliability
  • Loading branch information
dzhengfy authored Jan 28, 2024
2 parents 0f6bb18 + 8d89d6b commit 354fc05
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from uuid import uuid1

from avocado.utils import process
from virttest import libvirt_version
from virttest import virsh
from virttest import utils_misc
Expand Down Expand Up @@ -119,7 +118,7 @@ def check_device_attributes_are_dumped(test, dev_name, adapter, domain):
:param domain: domain number in base 16
"""

process.run("udevadm settle")
time.sleep(10)
nodedevice_xml = nodedev_xml.NodedevXML.new_from_dumpxml(dev_name)
mdev_cap_xml = nodedevice_xml.get_cap()
logging.debug("MdevXML: %s", mdev_cap_xml)
Expand Down

0 comments on commit 354fc05

Please sign in to comment.