You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2026/05/03 16:46:02 UTC
(cloudstack) branch main updated: Skip QemuImgTest when libvirt native library cannot load (#13086)
This is an automated email from the ASF dual-hosted git repository.
DaanHoogland pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 1e512ab9c65 Skip QemuImgTest when libvirt native library cannot load (#13086)
1e512ab9c65 is described below
commit 1e512ab9c6505641a944db2c878514e189b9f5f6
Author: codingkiddo <co...@gmail.com>
AuthorDate: Sun May 3 22:15:54 2026 +0530
Skip QemuImgTest when libvirt native library cannot load (#13086)
Co-authored-by: Vinod Kumar <vi...@192.168.1.3>
---
.../kvm/src/test/java/org/apache/cloudstack/utils/qemu/QemuImgTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/hypervisors/kvm/src/test/java/org/apache/cloudstack/utils/qemu/QemuImgTest.java b/plugins/hypervisors/kvm/src/test/java/org/apache/cloudstack/utils/qemu/QemuImgTest.java
index 5a027425776..140302590ba 100644
--- a/plugins/hypervisors/kvm/src/test/java/org/apache/cloudstack/utils/qemu/QemuImgTest.java
+++ b/plugins/hypervisors/kvm/src/test/java/org/apache/cloudstack/utils/qemu/QemuImgTest.java
@@ -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);
}