mirror of https://github.com/apache/jclouds.git
Fix for support maven surefire plugin test runner
This commit is contained in:
parent
bb09790060
commit
63c7f9c319
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue