diff --git a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorClientLiveTest.java b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorClientLiveTest.java index 44cbe2b2b3..4995d55bca 100644 --- a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorClientLiveTest.java +++ b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorClientLiveTest.java @@ -450,7 +450,7 @@ public abstract class BaseVCloudDirectorClientLiveTest extends BaseContextLiveTe } // Shutdown and power off the VApp if necessary - if (vApp.getStatus().equals(Status.POWERED_ON.getValue())) { + if (vApp.getStatus() == Status.POWERED_ON) { try { Task shutdownTask = vAppClient.shutdown(vAppURI); taskDoneEventually(shutdownTask);