mirror of https://github.com/apache/cloudstack.git
Skip QemuImgTest when libvirt native library cannot load (#13086)
Co-authored-by: Vinod Kumar <vinodkumar@192.168.1.3>
This commit is contained in:
parent
a17bff9ba8
commit
1e512ab9c6
|
|
@ -57,7 +57,7 @@ public class QemuImgTest {
|
|||
Connect conn = new Connect("qemu:///system", false);
|
||||
conn.getVersion();
|
||||
libVirtAvailable = true;
|
||||
} catch (LibvirtException ignored) {}
|
||||
} catch (LibvirtException | UnsatisfiedLinkError | ExceptionInInitializerError ignored) {}
|
||||
Assume.assumeTrue("libvirt not available", libVirtAvailable);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue