tests: Try harder to fix libvirt

Tests failed previously with:
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

related: rhbz#1950634

(cherry picked from commit b004c173884be5dd7d7f4b516a9f60ea93f174f0)
This commit is contained in:
Richard W.M. Jones 2021-06-11 18:43:04 +01:00
parent 57d1b58ba5
commit b0b9f03020
2 changed files with 4 additions and 0 deletions

View File

@ -6,5 +6,8 @@ set -x
# virt-v2v is extensively tested on real guests by the QE
# team using a mix of automated and manual testing.
# Fix libvirt.
systemctl restart libvirtd
virt-builder fedora-30
virt-v2v -i disk fedora-30.img -o null

View File

@ -6,6 +6,7 @@
required_packages:
- virt-v2v
- guestfs-tools
- libvirt-daemon-kvm
tests:
- simple:
dir: .