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 <[email protected]>
AuthorDate: Sun May 3 22:15:54 2026 +0530

    Skip QemuImgTest when libvirt native library cannot load (#13086)
    
    Co-authored-by: Vinod Kumar <[email protected]>
---
 .../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);
     }
 

Reply via email to