mirror of https://github.com/apache/jclouds.git
authorization test failing on guice errors on apis module
This commit is contained in:
parent
322e90d682
commit
ae92c8005b
|
@ -181,8 +181,11 @@ public abstract class BaseComputeServiceLiveTest extends BaseVersionedServiceLiv
|
|||
public void testCorrectAuthException() throws Exception {
|
||||
ComputeServiceContext context = null;
|
||||
try {
|
||||
context = new ComputeServiceContextFactory(setupRestProperties()).createContext(provider, "MOMMA", "MIA",
|
||||
ImmutableSet.<Module> of(new Log4JLoggingModule()));
|
||||
Properties overrides = setupProperties();
|
||||
overrides.setProperty(provider + ".identity", "MOMMA");
|
||||
overrides.setProperty(provider + ".credential", "MIA");
|
||||
context = new ComputeServiceContextFactory(setupRestProperties()).createContext(provider,
|
||||
ImmutableSet.<Module> of(new Log4JLoggingModule()), overrides);
|
||||
context.getComputeService().listNodes();
|
||||
} catch (AuthorizationException e) {
|
||||
throw e;
|
||||
|
|
Loading…
Reference in New Issue