From 0908e55ac88e9d83c4d3f42681a187369633ad95 Mon Sep 17 00:00:00 2001 From: Andrei Savu Date: Wed, 14 Mar 2012 14:33:48 +0200 Subject: [PATCH] Do not fail test if we have only the ROOT domain --- .../jclouds/cloudstack/features/DomainDomainClientLiveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }