diff --git a/sandbox-apis/nova/src/test/java/org/jclouds/openstack/nova/live/compute/ServiceActionsLiveTest.java b/sandbox-apis/nova/src/test/java/org/jclouds/openstack/nova/live/compute/ServiceActionsLiveTest.java index 9b50d262cc..b7a890540f 100644 --- a/sandbox-apis/nova/src/test/java/org/jclouds/openstack/nova/live/compute/ServiceActionsLiveTest.java +++ b/sandbox-apis/nova/src/test/java/org/jclouds/openstack/nova/live/compute/ServiceActionsLiveTest.java @@ -5,8 +5,10 @@ import com.google.common.collect.Iterables; import org.jclouds.compute.domain.NodeMetadata; import org.jclouds.compute.domain.NodeState; import org.testng.annotations.AfterTest; +import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; +import java.io.IOException; import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; @@ -20,6 +22,13 @@ public class ServiceActionsLiveTest extends ComputeBase { static private String group = "ServiceActionsLiveTest"; + @BeforeTest + @Override + public void before() throws IOException, ExecutionException, TimeoutException, InterruptedException { + super.before(); + computeService.destroyNodesMatching(inGroup(group)); + } + @Test public void testReboot() throws Exception { getDefaultNodeImmediately(group);