diff --git a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/DomainDomainClientLiveTest.java b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/DomainDomainClientLiveTest.java index 553a563fc4..7a68cdd0dc 100644 --- a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/DomainDomainClientLiveTest.java +++ b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/DomainDomainClientLiveTest.java @@ -50,7 +50,7 @@ public class DomainDomainClientLiveTest extends BaseCloudStackClientLiveTest { assertEquals(root.getLevel(), 0); assertEquals(root.getParentDomainId(), 0); assertNull(root.getParentDomainName()); - if (allDomains.size() > 0) { + if (allDomains.size() > 1) { assertTrue(root.hasChild()); }