mirror of https://github.com/apache/jclouds.git
Fix for support maven surefire plugin test runner
This commit is contained in:
parent
cfa8b1497a
commit
bacafb98dc
|
@ -53,7 +53,7 @@ public class ComputeBase {
|
|||
protected Properties overrides;
|
||||
|
||||
@BeforeTest
|
||||
public void setupClient() throws InterruptedException, ExecutionException, TimeoutException, IOException {
|
||||
public void before() throws InterruptedException, ExecutionException, TimeoutException, IOException {
|
||||
Properties properties = setupProperties(this.getClass());
|
||||
setupOverrides(properties);
|
||||
overrides = properties;
|
||||
|
|
|
@ -69,7 +69,7 @@ import static org.testng.Assert.*;
|
|||
@Test(groups = "novalive", enabled = true, sequential = true)
|
||||
public class NovaComputeServiceLiveTest extends ComputeBase {
|
||||
|
||||
private String group = "compute service test group";
|
||||
private static String group = "compute service test group";
|
||||
|
||||
|
||||
protected void checkNodes(Iterable<? extends NodeMetadata> nodes, String tag) throws IOException {
|
||||
|
@ -91,8 +91,11 @@ public class NovaComputeServiceLiveTest extends ComputeBase {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@BeforeTest
|
||||
public void before() {
|
||||
@Override
|
||||
public void before() throws IOException, ExecutionException, TimeoutException, InterruptedException {
|
||||
super.before();
|
||||
computeService.destroyNodesMatching(inGroup(group));
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static org.jclouds.compute.predicates.NodePredicates.inGroup;
|
|||
*/
|
||||
public class ServiceActionsLiveTest extends ComputeBase {
|
||||
|
||||
private String group = "ServiceActionsLiveTest";
|
||||
static private String group = "ServiceActionsLiveTest";
|
||||
|
||||
@Test
|
||||
public void testReboot() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue