Skip to content

Commit 3d31654

Browse files
authored
kvm: skip test that can't run and pass on M1 mac (#6537)
This fixes the build issue on M1 mac/osx. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 67e941f commit 3d31654

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/hypervisors/kvm/src/test/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResourceTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5590,6 +5590,9 @@ public void testMemoryFreeInKBsDomainReturningNoMemoryStatistics() throws Libvir
55905590

55915591
@Test
55925592
public void getMemoryFreeInKBsTestDomainReturningIncompleteArray() throws LibvirtException {
5593+
if (!System.getProperty("os.name").equals("Linux")) {
5594+
return;
5595+
}
55935596
LibvirtComputingResource libvirtComputingResource = new LibvirtComputingResource();
55945597

55955598
MemoryStatistic[] mem = createMemoryStatisticFreeMemory100();

0 commit comments

Comments
 (0)