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 {
|
public void testCorrectAuthException() throws Exception {
|
||||||
ComputeServiceContext context = null;
|
ComputeServiceContext context = null;
|
||||||
try {
|
try {
|
||||||
context = new ComputeServiceContextFactory(setupRestProperties()).createContext(provider, "MOMMA", "MIA",
|
Properties overrides = setupProperties();
|
||||||
ImmutableSet.<Module> of(new Log4JLoggingModule()));
|
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();
|
context.getComputeService().listNodes();
|
||||||
} catch (AuthorizationException e) {
|
} catch (AuthorizationException e) {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Reference in New Issue