mirror of https://github.com/apache/jclouds.git
Fix typo.
This commit is contained in:
parent
745b15bb6e
commit
023ca1c696
|
@ -33,20 +33,20 @@ import com.google.common.collect.ImmutableSet;
|
|||
@Test(groups = "live", testName = "CleanupStaleNodesAndClientsImplLiveTest")
|
||||
public class CleanupStaleNodesAndClientsImplLiveTest extends BaseChefLiveTest<ChefApi> {
|
||||
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creater;
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creator;
|
||||
private CleanupStaleNodesAndClientsImpl strategy;
|
||||
|
||||
@Override
|
||||
protected void initialize() {
|
||||
super.initialize();
|
||||
this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.strategy = injector.getInstance(CleanupStaleNodesAndClientsImpl.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testExecute() throws InterruptedException {
|
||||
try {
|
||||
creater.execute(prefix, ImmutableSet.<String> of());
|
||||
creator.execute(prefix, ImmutableSet.<String> of());
|
||||
// http://tickets.corp.opscode.com/browse/PL-522
|
||||
// assert chef.nodeExists(prefix);
|
||||
assertNotNull(api.getNode(prefix));
|
||||
|
|
|
@ -34,20 +34,20 @@ import com.google.common.collect.ImmutableSet;
|
|||
public class DeleteAllApisAndNodesInListImplLiveTest extends BaseChefLiveTest<ChefApi> {
|
||||
|
||||
private DeleteAllNodesInListImpl strategy;
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creater;
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creator;
|
||||
|
||||
@Override
|
||||
protected void initialize() {
|
||||
super.initialize();
|
||||
this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.strategy = injector.getInstance(DeleteAllNodesInListImpl.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testExecute() throws InterruptedException {
|
||||
try {
|
||||
creater.execute(prefix, ImmutableSet.<String> of());
|
||||
creater.execute(prefix + 1, ImmutableSet.<String> of());
|
||||
creator.execute(prefix, ImmutableSet.<String> of());
|
||||
creator.execute(prefix + 1, ImmutableSet.<String> of());
|
||||
|
||||
// http://tickets.corp.opscode.com/browse/PL-522
|
||||
// assert api.nodeExists(prefix);
|
||||
|
|
|
@ -36,15 +36,15 @@ import com.google.common.collect.ImmutableSet;
|
|||
public class GetNodesImplLiveTest extends BaseChefLiveTest<ChefApi> {
|
||||
|
||||
private ListNodesImpl strategy;
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creater;
|
||||
private CreateNodeAndPopulateAutomaticAttributesImpl creator;
|
||||
|
||||
@Override
|
||||
protected void initialize() {
|
||||
super.initialize();
|
||||
this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class);
|
||||
this.strategy = injector.getInstance(ListNodesImpl.class);
|
||||
creater.execute(prefix, ImmutableSet.<String> of());
|
||||
creater.execute(prefix + 1, ImmutableSet.<String> of());
|
||||
creator.execute(prefix, ImmutableSet.<String> of());
|
||||
creator.execute(prefix + 1, ImmutableSet.<String> of());
|
||||
}
|
||||
|
||||
@AfterClass(groups = { "integration", "live" })
|
||||
|
|
Loading…
Reference in New Issue